SlideShare a Scribd company logo
1 of 43
Session Code: DAT451



    Designing Role-Based Database
    Systems to Achieve Unlimited
    Database Scalability
    Fernando G. Guerrero
    CEO
    Solid Quality Mentors



2
What forced me to prepare this session




5
The "unpredictable workload" case
     Millions of copies of a win app around the
     world
     All of them waiting for file safety, before using
     them
       At undefined times
       Unlimited number of potential files to check
       Unpredictable level of workload at any date and
       time
       Unpredictable geographical distribution of workload
     Potentially, millions of requests per hour
     Can we solve it?
6
The "unreasonable scalability" case
     The system already reached its limits
     They need to support workload 50 times higher
       Scaling up is not an option
       Scaling out is not a simple task
     They need to support over 15K transactions per
     second, with textual based data


     Can we solve it?

7
Introductions
     Fernando G. Guerrero
     CEO of Solid Quality Global LLC, USA
     President of the SolidQ subsidiaries around the World
     fguerrero@solidq.com

     Microsoft Regional Director for Spain since 2004
     SQL Server MVP from year 2000 till 2007
     Usual suspect at many international conferences




8
The SolidQ recipe
      4 SQL Server MVPs old
      friends speaking at a
      conference in Palm Springs
      A pleasant dinner at a nice
      restaurant
      2 bottles of my favorite
      Spanish wine
      1 bottle of a great single
      Malt Whisky
      Lots of honest and trustful
9
      work for 6 years
What are you going to see and hear today




10
This session is about…
      Lesson learned from “unreasonable” and
      amazing real systems from real enterprise
      customers
      Based on actual work performed by our Solid
      Quality mentors
      Learning to think out of the box when designing
      DB systems
      Thinking first, acting later


11
This session is NOT about…
      Code
      Demos
      Obscure trace flags and registry hacks
      Any particular commercial product or service
      offering
      Description about standard scalability
      techniques



12
13
First… Listen




14
Then, try to understand what
        their needs really are…
      And what they really want




15
A database system is just one
      more tool to help achieving
            business goals




16
Your technical common sense is
        your most powerful tool




17
If you don’t need to buy
       anything to implemnent a
     solution, it does not mean that
      this is the cheapest solution



18
Role based DB system design
      A single box might be sufficient
      Different tasks might imply different roles
      Roles might be incompatible
      You’ll never know until you measure it




19
The unpredictable workload case




20
Role based DB system design
      A single box might be sufficient
      Different tasks might imply different roles
      Roles might be incompatible
      You’ll never know until you measure it




21
Massive attack




22
The unpredictable workload case




23
A common sense powered queue
      Multi-layered server roles:
        The Reader
        The Writer
        The Master Root
      “Magic array” of virtual server names
      Self updated definitions
      Proprietary advanced hash-based checking
      Local vs remote storage


24
The Magic Array




25
The Reader role
      Organized as a Readers tree with a Reader Root
      at the top
      Verifies signature of requested file
      Replies to client with simple response:
        Safe
        Unsafe
        Unknown
      If unknown, checks parent Reader for further
      information
      Receives updates from parent Reader
26
The Writer role
      Works as a Reader as well
      Organized as a flexible array of Writers
      Sends signature to the Master Root
        and sends file asynchronously if necessary
      Replies immediately to client with simple
      response:
        Safe
        Unsafe
        Unknown
      Receives updates from Distributor
27
The Master Root
      Stores new files and signatures
      Calls the qualification engine to qualify new
      files
      Distributes updates to root Reader
      Distributes updates to array of Writers




28
Massive dynamic deployment




29
The unreasonable scalability case




30
Scalability needs Jan 2005
                    Workload vs Capacity
                Workload   Initial C   Improved C
          300                                       300




          90                                        100
                                                     90

          10




31
32
      Jan-05




                10
                90
                            300
     Feb-05
     Mar-05
     Apr-05
     May-05
     Jun-05
       Jul-05
                                        Workload




     Aug-05
     Sep-05
     Oct-05
     Nov-05
                                        Initial C




     Dec-05
                 90
                      200
                            300




      Jan-06
     Feb-06
                                                     Workload vs Capacity




     Mar-06
                                        Improved C




     Apr-06
                                                                            Scalability needs Aug 2006




     May-06
     Jun-06
       Jul-06
                 90
                            300
                                  600




     Aug-06
Side note:
     is there such thing as a write-
            only transaction?
                   or…
     how much writing activity do
           you really expect?

33
Scalability needs Dec 2008
                                              Workload vs Capacity
                          Workload                      Initial C                 Improved C                         Role Based C
                                                                                                                                                4000

                                                                                                                                                3000

                                                                                                                     2000
                                                                                                                     1500

                                                                       600 600                                       600                           600
                                             200                       300 500
             90
             10                              90                        90 90                                         90                             90
                 Apr-05




                                                     Apr-06




                                                                                         Apr-07




                                                                                                                             Apr-08
                                            Jan-06
        Jan-05




                                                                                Jan-07




                                                                                                                    Jan-08
                          Jul-05
                                   Oct-05




                                                              Jul-06
                                                                       Oct-06




                                                                                                  Jul-07
                                                                                                           Oct-07




                                                                                                                                      Jul-08
                                                                                                                                               Oct-08
34
Scalability needs beyond 2009
                                                     Workload vs Capacity
                           Workload                           Initial C                     Improved C                                Role Based C
                                                                                                                                                                  16000

                                                                                                                                                                  12000

                                                                                                                                                  8000
                                                                                                                                                  6000
                                                                                                                      4000
                                                                                                                      3000
                                                                                           2000
                                                                                           1500
             90
             10                      200
                                     90                600600
                                                       300 500
                                                       90 90                               600
                                                                                           90                         600
                                                                                                                      90                          600
                                                                                                                                                  90                  600
                                                                                                                                                                       90
                          Sep-05



                                                     Sep-06



                                                                                Sep-07



                                                                                                           Sep-08



                                                                                                                                       Sep-09



                                                                                                                                                                  Sep-10
        Jan-05



                                   Jan-06



                                                              Jan-07



                                                                                         Jan-08



                                                                                                                    Jan-09



                                                                                                                                                Jan-10
                                                                                                                                                         May-10
                 May-05



                                            May-06



                                                                       May-07



                                                                                                  May-08



                                                                                                                             May-09

35
The unreasonable scalability case




36
Role-based architecture




37
Detailed role assignment




38
Technology alone cannot beat
     what an experienced engineer
      can design on the back of an
               envelope



39
40
Resources for IT Professionals

www.microsoft.com/teched
Tech·Talks        Tech·Ed Bloggers
Live Simulcasts   Virtual Labs




http://microsoft.com/technet

Evaluation licenses, pre-released
products, and MORE!
Related Content
Breakout Sessions (session codes and titles)



Interactive Theater Sessions (session codes and titles)



Hands-on Labs (session codes and titles)



Hands-on Labs (session codes and titles)
Track Resources
Resource 1



Resource 2



Resource 3



Resource 4
1 Year
           Subscription!



Complete an
evaluation on
CommNet and
enter to win!
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
     The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should
      not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS,
                                                                                IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.




46

More Related Content

Viewers also liked

Viewers also liked (10)

Noun clauses aftter verb or expression of urgency
Noun clauses aftter verb or expression of urgencyNoun clauses aftter verb or expression of urgency
Noun clauses aftter verb or expression of urgency
 
Dealing with SQL Security from ADO.NET
Dealing with SQL Security from ADO.NETDealing with SQL Security from ADO.NET
Dealing with SQL Security from ADO.NET
 
Vda305 concurrency guerrero
Vda305 concurrency guerreroVda305 concurrency guerrero
Vda305 concurrency guerrero
 
Data Mining for Moderation of Social Data
Data Mining for Moderation of Social DataData Mining for Moderation of Social Data
Data Mining for Moderation of Social Data
 
Charles dickens biography
Charles dickens biographyCharles dickens biography
Charles dickens biography
 
Achieve the Impossible: Use INSTEAD OF triggers in SQL Server 2000 to Deal Tr...
Achieve the Impossible:Use INSTEAD OF triggers in SQL Server 2000 to Deal Tr...Achieve the Impossible:Use INSTEAD OF triggers in SQL Server 2000 to Deal Tr...
Achieve the Impossible: Use INSTEAD OF triggers in SQL Server 2000 to Deal Tr...
 
Education in cambodia
Education in cambodiaEducation in cambodia
Education in cambodia
 
Comparative and superative
Comparative and superativeComparative and superative
Comparative and superative
 
Concurrency problems and locking techniques in SQL Server 2000 and VB.NET
Concurrency problems and locking techniques in SQL Server 2000 and VB.NETConcurrency problems and locking techniques in SQL Server 2000 and VB.NET
Concurrency problems and locking techniques in SQL Server 2000 and VB.NET
 
Verb + gerund or infinitive
Verb + gerund or infinitiveVerb + gerund or infinitive
Verb + gerund or infinitive
 

Similar to Designing Role-Based Database Systems to Achieve Unlimited Database Scalability

Lean Startups Steve Blank Eric Ries
Lean Startups Steve Blank Eric RiesLean Startups Steve Blank Eric Ries
Lean Startups Steve Blank Eric RiesStanford University
 
Architecting BigData Enterprise Application-HadoopSummit2012
Architecting BigData Enterprise Application-HadoopSummit2012Architecting BigData Enterprise Application-HadoopSummit2012
Architecting BigData Enterprise Application-HadoopSummit2012Kumar Palaniappan
 
Architecting Business Critical Enterprise Apps-NetApp
Architecting Business Critical Enterprise Apps-NetAppArchitecting Business Critical Enterprise Apps-NetApp
Architecting Business Critical Enterprise Apps-NetAppDataWorks Summit
 
Lean Startup presentation for Maples Investments by Steve Blank and Eric Ries
Lean Startup presentation for Maples Investments by Steve Blank and Eric RiesLean Startup presentation for Maples Investments by Steve Blank and Eric Ries
Lean Startup presentation for Maples Investments by Steve Blank and Eric RiesEric Ries
 
AddQ Testautomatiseringserfarenheter
AddQ TestautomatiseringserfarenheterAddQ Testautomatiseringserfarenheter
AddQ TestautomatiseringserfarenheterAddQ Consulting
 
Operations is a Strategic Weapon (PuppetConf)
Operations is a Strategic Weapon (PuppetConf)Operations is a Strategic Weapon (PuppetConf)
Operations is a Strategic Weapon (PuppetConf)dev2ops
 
Chemical Supply Chain
Chemical Supply ChainChemical Supply Chain
Chemical Supply ChainNatashaS7
 
The Future of Business is Open
The Future of Business is OpenThe Future of Business is Open
The Future of Business is OpenJan Sysmans
 
CrossRef Strategy Overview
CrossRef Strategy OverviewCrossRef Strategy Overview
CrossRef Strategy OverviewCrossref
 
KMS story and How Vietnam to export software outsourcing services or build so...
KMS story and How Vietnam to export software outsourcing services or build so...KMS story and How Vietnam to export software outsourcing services or build so...
KMS story and How Vietnam to export software outsourcing services or build so...KMS Technology
 
Optimization with minimums and maximums capacity sas
Optimization with minimums and maximums capacity   sasOptimization with minimums and maximums capacity   sas
Optimization with minimums and maximums capacity sasMostafa Ashour
 
Rietta Business Intelligence for the MicroISV
Rietta Business Intelligence for the MicroISVRietta Business Intelligence for the MicroISV
Rietta Business Intelligence for the MicroISVFrank Rietta
 
MapReduce Debates and Schema-Free
MapReduce Debates and Schema-FreeMapReduce Debates and Schema-Free
MapReduce Debates and Schema-Freehybrid cloud
 
Optimization with minimums and maximums capacity excel
Optimization with minimums and maximums capacity   excelOptimization with minimums and maximums capacity   excel
Optimization with minimums and maximums capacity excelMostafa Ashour
 
Minimums and maximums optimization Problem by excel
Minimums and maximums optimization Problem by  excelMinimums and maximums optimization Problem by  excel
Minimums and maximums optimization Problem by excelMostafa Ashour
 

Similar to Designing Role-Based Database Systems to Achieve Unlimited Database Scalability (16)

Lean Startups Steve Blank Eric Ries
Lean Startups Steve Blank Eric RiesLean Startups Steve Blank Eric Ries
Lean Startups Steve Blank Eric Ries
 
Architecting BigData Enterprise Application-HadoopSummit2012
Architecting BigData Enterprise Application-HadoopSummit2012Architecting BigData Enterprise Application-HadoopSummit2012
Architecting BigData Enterprise Application-HadoopSummit2012
 
Architecting Business Critical Enterprise Apps-NetApp
Architecting Business Critical Enterprise Apps-NetAppArchitecting Business Critical Enterprise Apps-NetApp
Architecting Business Critical Enterprise Apps-NetApp
 
Lean Startup presentation for Maples Investments by Steve Blank and Eric Ries
Lean Startup presentation for Maples Investments by Steve Blank and Eric RiesLean Startup presentation for Maples Investments by Steve Blank and Eric Ries
Lean Startup presentation for Maples Investments by Steve Blank and Eric Ries
 
AddQ Testautomatiseringserfarenheter
AddQ TestautomatiseringserfarenheterAddQ Testautomatiseringserfarenheter
AddQ Testautomatiseringserfarenheter
 
Operations is a Strategic Weapon (PuppetConf)
Operations is a Strategic Weapon (PuppetConf)Operations is a Strategic Weapon (PuppetConf)
Operations is a Strategic Weapon (PuppetConf)
 
Chemical Supply Chain
Chemical Supply ChainChemical Supply Chain
Chemical Supply Chain
 
The Future of Business is Open
The Future of Business is OpenThe Future of Business is Open
The Future of Business is Open
 
CrossRef Strategy Overview
CrossRef Strategy OverviewCrossRef Strategy Overview
CrossRef Strategy Overview
 
KMS story and How Vietnam to export software outsourcing services or build so...
KMS story and How Vietnam to export software outsourcing services or build so...KMS story and How Vietnam to export software outsourcing services or build so...
KMS story and How Vietnam to export software outsourcing services or build so...
 
Optimization with minimums and maximums capacity sas
Optimization with minimums and maximums capacity   sasOptimization with minimums and maximums capacity   sas
Optimization with minimums and maximums capacity sas
 
Rietta Business Intelligence for the MicroISV
Rietta Business Intelligence for the MicroISVRietta Business Intelligence for the MicroISV
Rietta Business Intelligence for the MicroISV
 
MapReduce Debates and Schema-Free
MapReduce Debates and Schema-FreeMapReduce Debates and Schema-Free
MapReduce Debates and Schema-Free
 
The Lean Startup
The Lean StartupThe Lean Startup
The Lean Startup
 
Optimization with minimums and maximums capacity excel
Optimization with minimums and maximums capacity   excelOptimization with minimums and maximums capacity   excel
Optimization with minimums and maximums capacity excel
 
Minimums and maximums optimization Problem by excel
Minimums and maximums optimization Problem by  excelMinimums and maximums optimization Problem by  excel
Minimums and maximums optimization Problem by excel
 

More from Fernando G. Guerrero

Itinerarios de Grado de Ingenieria Informatica EPS Alicante
Itinerarios de Grado de Ingenieria Informatica EPS AlicanteItinerarios de Grado de Ingenieria Informatica EPS Alicante
Itinerarios de Grado de Ingenieria Informatica EPS AlicanteFernando G. Guerrero
 
New gTLDs between two rounds: trade mark challenges
 New gTLDs between two rounds: trade mark challenges New gTLDs between two rounds: trade mark challenges
New gTLDs between two rounds: trade mark challengesFernando G. Guerrero
 
Dealing with SQL Security from ADO.NET
Dealing with SQL Security from ADO.NETDealing with SQL Security from ADO.NET
Dealing with SQL Security from ADO.NETFernando G. Guerrero
 
Datos Geométricos y Espaciales en SQL Server 2008
Datos Geométricos y Espaciales en SQL Server 2008Datos Geométricos y Espaciales en SQL Server 2008
Datos Geométricos y Espaciales en SQL Server 2008Fernando G. Guerrero
 
Solid q universidad empresa 2011 10 27
Solid q universidad empresa 2011 10 27Solid q universidad empresa 2011 10 27
Solid q universidad empresa 2011 10 27Fernando G. Guerrero
 

More from Fernando G. Guerrero (6)

Udf eficientes
Udf eficientesUdf eficientes
Udf eficientes
 
Itinerarios de Grado de Ingenieria Informatica EPS Alicante
Itinerarios de Grado de Ingenieria Informatica EPS AlicanteItinerarios de Grado de Ingenieria Informatica EPS Alicante
Itinerarios de Grado de Ingenieria Informatica EPS Alicante
 
New gTLDs between two rounds: trade mark challenges
 New gTLDs between two rounds: trade mark challenges New gTLDs between two rounds: trade mark challenges
New gTLDs between two rounds: trade mark challenges
 
Dealing with SQL Security from ADO.NET
Dealing with SQL Security from ADO.NETDealing with SQL Security from ADO.NET
Dealing with SQL Security from ADO.NET
 
Datos Geométricos y Espaciales en SQL Server 2008
Datos Geométricos y Espaciales en SQL Server 2008Datos Geométricos y Espaciales en SQL Server 2008
Datos Geométricos y Espaciales en SQL Server 2008
 
Solid q universidad empresa 2011 10 27
Solid q universidad empresa 2011 10 27Solid q universidad empresa 2011 10 27
Solid q universidad empresa 2011 10 27
 

Recently uploaded

Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 

Designing Role-Based Database Systems to Achieve Unlimited Database Scalability

  • 1.
  • 2. Session Code: DAT451 Designing Role-Based Database Systems to Achieve Unlimited Database Scalability Fernando G. Guerrero CEO Solid Quality Mentors 2
  • 3. What forced me to prepare this session 5
  • 4. The "unpredictable workload" case Millions of copies of a win app around the world All of them waiting for file safety, before using them At undefined times Unlimited number of potential files to check Unpredictable level of workload at any date and time Unpredictable geographical distribution of workload Potentially, millions of requests per hour Can we solve it? 6
  • 5. The "unreasonable scalability" case The system already reached its limits They need to support workload 50 times higher Scaling up is not an option Scaling out is not a simple task They need to support over 15K transactions per second, with textual based data Can we solve it? 7
  • 6. Introductions Fernando G. Guerrero CEO of Solid Quality Global LLC, USA President of the SolidQ subsidiaries around the World fguerrero@solidq.com Microsoft Regional Director for Spain since 2004 SQL Server MVP from year 2000 till 2007 Usual suspect at many international conferences 8
  • 7. The SolidQ recipe 4 SQL Server MVPs old friends speaking at a conference in Palm Springs A pleasant dinner at a nice restaurant 2 bottles of my favorite Spanish wine 1 bottle of a great single Malt Whisky Lots of honest and trustful 9 work for 6 years
  • 8. What are you going to see and hear today 10
  • 9. This session is about… Lesson learned from “unreasonable” and amazing real systems from real enterprise customers Based on actual work performed by our Solid Quality mentors Learning to think out of the box when designing DB systems Thinking first, acting later 11
  • 10. This session is NOT about… Code Demos Obscure trace flags and registry hacks Any particular commercial product or service offering Description about standard scalability techniques 12
  • 11. 13
  • 13. Then, try to understand what their needs really are… And what they really want 15
  • 14. A database system is just one more tool to help achieving business goals 16
  • 15. Your technical common sense is your most powerful tool 17
  • 16. If you don’t need to buy anything to implemnent a solution, it does not mean that this is the cheapest solution 18
  • 17. Role based DB system design A single box might be sufficient Different tasks might imply different roles Roles might be incompatible You’ll never know until you measure it 19
  • 19. Role based DB system design A single box might be sufficient Different tasks might imply different roles Roles might be incompatible You’ll never know until you measure it 21
  • 22. A common sense powered queue Multi-layered server roles: The Reader The Writer The Master Root “Magic array” of virtual server names Self updated definitions Proprietary advanced hash-based checking Local vs remote storage 24
  • 24. The Reader role Organized as a Readers tree with a Reader Root at the top Verifies signature of requested file Replies to client with simple response: Safe Unsafe Unknown If unknown, checks parent Reader for further information Receives updates from parent Reader 26
  • 25. The Writer role Works as a Reader as well Organized as a flexible array of Writers Sends signature to the Master Root and sends file asynchronously if necessary Replies immediately to client with simple response: Safe Unsafe Unknown Receives updates from Distributor 27
  • 26. The Master Root Stores new files and signatures Calls the qualification engine to qualify new files Distributes updates to root Reader Distributes updates to array of Writers 28
  • 29. Scalability needs Jan 2005 Workload vs Capacity Workload Initial C Improved C 300 300 90 100 90 10 31
  • 30. 32 Jan-05 10 90 300 Feb-05 Mar-05 Apr-05 May-05 Jun-05 Jul-05 Workload Aug-05 Sep-05 Oct-05 Nov-05 Initial C Dec-05 90 200 300 Jan-06 Feb-06 Workload vs Capacity Mar-06 Improved C Apr-06 Scalability needs Aug 2006 May-06 Jun-06 Jul-06 90 300 600 Aug-06
  • 31. Side note: is there such thing as a write- only transaction? or… how much writing activity do you really expect? 33
  • 32. Scalability needs Dec 2008 Workload vs Capacity Workload Initial C Improved C Role Based C 4000 3000 2000 1500 600 600 600 600 200 300 500 90 10 90 90 90 90 90 Apr-05 Apr-06 Apr-07 Apr-08 Jan-06 Jan-05 Jan-07 Jan-08 Jul-05 Oct-05 Jul-06 Oct-06 Jul-07 Oct-07 Jul-08 Oct-08 34
  • 33. Scalability needs beyond 2009 Workload vs Capacity Workload Initial C Improved C Role Based C 16000 12000 8000 6000 4000 3000 2000 1500 90 10 200 90 600600 300 500 90 90 600 90 600 90 600 90 600 90 Sep-05 Sep-06 Sep-07 Sep-08 Sep-09 Sep-10 Jan-05 Jan-06 Jan-07 Jan-08 Jan-09 Jan-10 May-10 May-05 May-06 May-07 May-08 May-09 35
  • 37. Technology alone cannot beat what an experienced engineer can design on the back of an envelope 39
  • 38. 40
  • 39. Resources for IT Professionals www.microsoft.com/teched Tech·Talks Tech·Ed Bloggers Live Simulcasts Virtual Labs http://microsoft.com/technet Evaluation licenses, pre-released products, and MORE!
  • 40. Related Content Breakout Sessions (session codes and titles) Interactive Theater Sessions (session codes and titles) Hands-on Labs (session codes and titles) Hands-on Labs (session codes and titles)
  • 41. Track Resources Resource 1 Resource 2 Resource 3 Resource 4
  • 42. 1 Year Subscription! Complete an evaluation on CommNet and enter to win!
  • 43. © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. 46

Editor's Notes

  1. Animation still to be finished
  2. Animation still to be finished
  3. Animation still to be finished