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
 
Selling for the Lean Startup
Selling for the Lean StartupSelling for the Lean Startup
Selling for the Lean StartupSalesQualia
 
Selling for the Lean Startup
Selling for the Lean StartupSelling for the Lean Startup
Selling for the Lean StartupSalesQualia
 
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 (18)

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
 
Selling for the Lean Startup
Selling for the Lean StartupSelling for the Lean Startup
Selling for the Lean Startup
 
Selling for the Lean Startup
Selling for the Lean StartupSelling for the Lean Startup
Selling for 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

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 

Recently uploaded (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

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