SlideShare a Scribd company logo
SQL Azure Database. Under the hood
    What, how and why Cloud is different

                  Kirill Bezpalyi, MSP, VNTU



                                12/25/2011
Что впереди?
       Осмотр сервиса
       Архитектура SQL Azure
       Отказоустойчивость
       Аппаратная организация
       Мониторинг
       Безопасность
       Итоги




    2                            12/25/2011
SQL Azure model
                  Each account has zero or more servers
    Account           Azure wide, provisioned in a common portal
                      Billing instrument

                  Each server has one or more databases
                      Zone for authentication: userId+password
                      Zone for administration and billing
     Server               Metadata about the databases and usage
                      Network access control based on client IP
                      Has unique DNS name and unit of geo-location
                  Each database has standard SQL objects
                      Unit of consistency and high availability
                       (autonomous replication)
    Database          Contains Users, Tables, Views, Indices, etc…
                      Most granular unit of usage reports
                      Three SKUs available (1GB, 10GB and 50GB)

3                                                  12/25/2011
SQL Azure Network Topology use standard SQL
                                 Applications
                                             Application               client libraries: ODBC,
                                                                       ADO.Net, PHP, …
                                                  Internet
                                                   Azure
                                                   Cloud

                                      TDS (tcp)
         Security Boundary                                         Load balancer forwards „sticky‟
                                                    LB             sessions to TDS protocol tier



    TDS (tcp)



                Gateway    Gateway     Gateway               Gateway       Gateway          Gateway

            Gateway: TDS protocol gateway, enforces AUTHN/AUTHZ policy; proxy to CloudDB
    TDS (tcp)


L                    SQL               SQL                      SQL                     SQL

            4                                                                  12/25/2011
            Scalability and Availability: Fabric, Failover, Replication, and Load balancing
Replication
   All reads are
    completed at
    the primary                            Ack
                                                      Read
                                                      Write
  Writes                                 Value
                                                                        Ack
   replicated to         Ack
   write quorum of
   replicas                        Ack            P           Ack
 Commit on
   secondaries                 S         Write        Write         S
   first then
   primary
                     S                    Write       Write                   S
 Each
   transaction has
   a commit
 5
   sequence                                           12/25/2011
   number (epoch,
Reconfiguration
       Types of reconfiguration
           Primary failover
           Removing a failed
            secondary                                   Failed
           Adding recovered replica
           Building a new secondary



                                       S
                       B                                          P


   Assumes                                                             S
                                      Failed
           Failure detector
           Leader election                  Safe in the presence
           Both services provided by         of cascading failures
            Fabric layer
    6                                                      12/25/2011
Partition Management
       Partition Manager (PM) is a highly available service
        running in the Master cluster
           Ensures all partitions are operational
           Places replicas across failure domains
            (rack/switch/server)
           Ensures all partitions have target replica count
           Balances the load across all the nodes
       Each node manages multiple partitions
       Global state maintained by the PM can be recreated
        from the local node state in event of disaster (GPM
        rebuild)

    7                                                  12/25/2011
System in Operation
                                             Primary master node
                                     SQL Server            Partition Manager
                                                       Partition
                                       Global                           Load Balancer
                                                      Managemen
                                      Partition            t
                                                           Partition Placement
                                        map
                                                                  Advisor
                                                            Leader
                                                                            Fabric
                                                            Elector




    Data Node            Data Node        Data Node        Data Node          Data Node          Data Node
       100                  101              102              103                104                105
       P                    S                 P                P                     S                P
       S                    S                 S                S                     S                S
       S                    P                 S                S                     S                S
       S                    S                 S                                                       S
                                              S
                Fabric
                                              Secondary        Primary        Secondary

8                                                                                        12/25/2011
SQL node Architecture
       Single physical DB for entire            Machine SQL
        node                                      Instance
       DB files and log shared                    master
        across every logical
        database/partition                         tempdb
           Allows better logging                    msdb
            throughput with sequential
            IO/group commits                      CloudNode
           No auto-growth on demand
            stalls                        DB1        DB2     master
           Uniform manageability and     DB5        DB1       DB7
            backup
       Each partition is a “silo” with   DB3        DB4      DB7
        its own independent schema
       Local SQL backup guards
        against software bugs
    9                                           12/25/2011
Recap
    Two kinds of nodes:
        Data nodes store application data
        Master nodes store cluster metadata
    Node failures are reliably detected
        On every node, SQL and Fabric processes monitor each
         other
        Fabric processes monitor each other across nodes
    Local failures cause nodes to fail-fast
    Failures cause reconfiguration and placement
     changes


    10                                         12/25/2011
Hardware Architecture
                       Each rack hosts 2 pods of
        L2 Switch       20 machines each
                       Each pod has a TOR mini-
                        switch
                           10GB uplink to L2 switch
                       Each SQL Azure machine
                        runs on commodity box
                       Example:
                           8 cores
                           32 GB RAM
                           1TB+ SATA drives
                           Programmable power
                           1Gb NIC
                       Machine spec changes as
                        hardware (pricing) evolves

11                                  12/25/2011
Hardware Challenges
SATA drives
 On-disk cache and lack of true "write through" results
  in Write Ahead Logging violations
        DB requires in-order writes to be honored
        Can force flush cache, but causes performance
         degradation
    Disk failures happen daily (at scale), fail-fast on
     those
        Bit-flips (enabled page checksums)
        Drives just disappear
        IOs are misdirected
    Faulty NIC
        Encountered message corruption
    12      Enabled message signing and checksums   12/25/2011
Software Deployment
    OS is automatically imaged via deployment
    All the services are setup using file copy
        Guarantees on which version is running
        Provides fast switch to new version
        Minimal global state allows running side by side
        Yes, that includes the SQL Server DB engine
    Rollout is monitored to ensure high availability
        Knowledge of replica state health ensure SLA is met
        Two phase rollouts for data or protocol changes
    Leverages internal Autopilot technologies with SQL
     Azure extensions

    13                                             12/25/2011
Software Challenges
    Lack of real-time OS features
        CPU priority
    High priority for Fabric lease traffic
        Page Faults/GC
    Locked pages for SQL and Fabric (in managed
     code)
    Fail fast or not?
        Yes, for corruption/AV
        No, for other issues unless centrally controlled
    What is really considered failed?
        Some failures are non-deterministic or hangs
        Multiple protocols / channels means partial failures too
    14                                              12/25/2011
Monitoring
    Health model w/repair actions
        Reboot -> Re-deploy -> Re-image (OS) -> RMA cycle
    Additional monitoring for SQL tier
        Connect / network probes
        Memory leaks / hung worker processes
        Database corruption detection
        Trace and performance stats capture
            Sourced from regular SQL trace and support mechanisms
            Stored locally and pushed to a global cluster wide store
            Global cluster used for service insight and problem tracking




    15                                                     12/25/2011
SQL Azure Login Process
                         7
                                                              1
                                      TDS Gateway
                                       Front-end Node
                      TDS Session           Protocol Parser
                                      6              2
                                            Gateway Logic


                                                                                  Global Partition Map

                                                                                         Master Node
                         8                                               3
                                                                                        Master Node
                                                                                        Components



                                                4                                   5

Backend Node 1                            Backend Node 2                          Backend Node 3
     SQL Instance                          SQL Instance                              SQL Instance
       SQL DB                                SQL DB                                    SQL DB




16          Scalability and and Availability: Fabric,Failover,Replication, and Load balancing
                 Scalability Availability: Fabric, Failover, Replication, and Load balancing
                                                                                    12/25/2011
Security/Attack Considerations
    Service
        Secure channel required (SSL)
        Denial Of Service trend tracking
        Packet Inspection
    Server
        IP allow list (Firewall)
        Idle connection culling
        Generated server names
    Database
        Disallow the most commonly attacked user id‟s (SA,
         Admin, root, guest, etc)
        Standard SQL Authn/Authz mode

    17                                           12/25/2011
Set up a server...




18                   12/25/2011
SQL Azure Compatibility

Currently Supported        Not Currently Supported

    Tables, indexes and      Data Types
     views                        Sparse Columns, Filestream
    Stored Procedures        Partitions
    Triggers                 Full-text indexes
    Constraints              SQL-CLR
    Table variables,
     session temp tables
     (#t)
    Spatial types,
     HierarchyId
    19                                      12/25/2011
Size Matters




20             12/25/2011
Pricing




21        12/25/2011
Summary
    Cloud is different
        Not a different place to host code
    SQL Azure IS SQL Server…a TDS endpoint
    Create DB‟s and manage using what we already
     know
    Considerations and futures paint exciting picture of
     what to expect looking forward
    Opportunities are great
        Customers want a utility approach to storage
        New businesses and abilities in scale, availability, etc
    But the price must be paid
        Which is a good thing, otherwise everyone would be
    22                                           12/25/2011
         doing it!
Materials
    SQL Azure
         http://www.microsoft.com/windowsazure/sqlazure/
        SQL Azure “under the hood”
         http://www.microsoftpdc.com/sessions/tags/sqlazure
    SQL Azure Fabric
         http://channel9.msdn.com/pdc2008/BB03/
    General Guidelines & Limitations
         http://msdn.microsoft.com/en-us/library/ee336245.aspx




    23                                            12/25/2011
Q&A

      Ask your questions…
24                12/25/2011
Your potential. Our passion.TM

More Related Content

What's hot

Micro-batching: High-performance writes
Micro-batching: High-performance writesMicro-batching: High-performance writes
Micro-batching: High-performance writes
Instaclustr
 
Scylla Summit 2016: Analytics Show Time - Spark and Presto Powered by Scylla
Scylla Summit 2016: Analytics Show Time - Spark and Presto Powered by ScyllaScylla Summit 2016: Analytics Show Time - Spark and Presto Powered by Scylla
Scylla Summit 2016: Analytics Show Time - Spark and Presto Powered by Scylla
ScyllaDB
 
AddThis: Scaling Cassandra up and down into containers with ZFS
AddThis: Scaling Cassandra up and down into containers with ZFSAddThis: Scaling Cassandra up and down into containers with ZFS
AddThis: Scaling Cassandra up and down into containers with ZFS
DataStax Academy
 
Instaclustr Webinar 50,000 Transactions Per Second with Apache Spark on Apach...
Instaclustr Webinar 50,000 Transactions Per Second with Apache Spark on Apach...Instaclustr Webinar 50,000 Transactions Per Second with Apache Spark on Apach...
Instaclustr Webinar 50,000 Transactions Per Second with Apache Spark on Apach...
Instaclustr
 
Cassandra Summit 2014: Active-Active Cassandra Behind the Scenes
Cassandra Summit 2014: Active-Active Cassandra Behind the ScenesCassandra Summit 2014: Active-Active Cassandra Behind the Scenes
Cassandra Summit 2014: Active-Active Cassandra Behind the Scenes
DataStax Academy
 
A glimpse of cassandra 4.0 features netflix
A glimpse of cassandra 4.0 features   netflixA glimpse of cassandra 4.0 features   netflix
A glimpse of cassandra 4.0 features netflix
Vinay Kumar Chella
 
Instaclustr webinar 2017 feb 08 japan
Instaclustr webinar 2017 feb 08   japanInstaclustr webinar 2017 feb 08   japan
Instaclustr webinar 2017 feb 08 japan
Hiromitsu Komatsu
 
Micro-batching: High-performance Writes (Adam Zegelin, Instaclustr) | Cassand...
Micro-batching: High-performance Writes (Adam Zegelin, Instaclustr) | Cassand...Micro-batching: High-performance Writes (Adam Zegelin, Instaclustr) | Cassand...
Micro-batching: High-performance Writes (Adam Zegelin, Instaclustr) | Cassand...
DataStax
 
Cassandra Performance and Scalability on AWS
Cassandra Performance and Scalability on AWSCassandra Performance and Scalability on AWS
Cassandra Performance and Scalability on AWS
Adrian Cockcroft
 
Cassandra CLuster Management by Japan Cassandra Community
Cassandra CLuster Management by Japan Cassandra CommunityCassandra CLuster Management by Japan Cassandra Community
Cassandra CLuster Management by Japan Cassandra Community
Hiromitsu Komatsu
 
Mesosphere and Contentteam: A New Way to Run Cassandra
Mesosphere and Contentteam: A New Way to Run CassandraMesosphere and Contentteam: A New Way to Run Cassandra
Mesosphere and Contentteam: A New Way to Run Cassandra
DataStax Academy
 
Cassandra EU 2012 - Netflix's Cassandra Architecture and Open Source Efforts
Cassandra EU 2012 - Netflix's Cassandra Architecture and Open Source EffortsCassandra EU 2012 - Netflix's Cassandra Architecture and Open Source Efforts
Cassandra EU 2012 - Netflix's Cassandra Architecture and Open Source Efforts
Acunu
 
Maintaining Consistency Across Data Centers (Randy Fradin, BlackRock) | Cassa...
Maintaining Consistency Across Data Centers (Randy Fradin, BlackRock) | Cassa...Maintaining Consistency Across Data Centers (Randy Fradin, BlackRock) | Cassa...
Maintaining Consistency Across Data Centers (Randy Fradin, BlackRock) | Cassa...
DataStax
 
Performance tuning - A key to successful cassandra migration
Performance tuning - A key to successful cassandra migrationPerformance tuning - A key to successful cassandra migration
Performance tuning - A key to successful cassandra migration
Ramkumar Nottath
 
Arc305 how netflix leverages multiple regions to increase availability an i...
Arc305 how netflix leverages multiple regions to increase availability   an i...Arc305 how netflix leverages multiple regions to increase availability   an i...
Arc305 how netflix leverages multiple regions to increase availability an i...
Ruslan Meshenberg
 
Suning OpenStack Cloud and Heat
Suning OpenStack Cloud and HeatSuning OpenStack Cloud and Heat
Suning OpenStack Cloud and Heat
Qiming Teng
 
Safer restarts, faster streaming, and better repair, just a glimpse of cassan...
Safer restarts, faster streaming, and better repair, just a glimpse of cassan...Safer restarts, faster streaming, and better repair, just a glimpse of cassan...
Safer restarts, faster streaming, and better repair, just a glimpse of cassan...
Vinay Kumar Chella
 
Monitoring Cassandra at Scale (Jason Cacciatore, Netflix) | C* Summit 2016
Monitoring Cassandra at Scale (Jason Cacciatore, Netflix) | C* Summit 2016Monitoring Cassandra at Scale (Jason Cacciatore, Netflix) | C* Summit 2016
Monitoring Cassandra at Scale (Jason Cacciatore, Netflix) | C* Summit 2016
DataStax
 
Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...
Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...
Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...
DataStax
 

What's hot (19)

Micro-batching: High-performance writes
Micro-batching: High-performance writesMicro-batching: High-performance writes
Micro-batching: High-performance writes
 
Scylla Summit 2016: Analytics Show Time - Spark and Presto Powered by Scylla
Scylla Summit 2016: Analytics Show Time - Spark and Presto Powered by ScyllaScylla Summit 2016: Analytics Show Time - Spark and Presto Powered by Scylla
Scylla Summit 2016: Analytics Show Time - Spark and Presto Powered by Scylla
 
AddThis: Scaling Cassandra up and down into containers with ZFS
AddThis: Scaling Cassandra up and down into containers with ZFSAddThis: Scaling Cassandra up and down into containers with ZFS
AddThis: Scaling Cassandra up and down into containers with ZFS
 
Instaclustr Webinar 50,000 Transactions Per Second with Apache Spark on Apach...
Instaclustr Webinar 50,000 Transactions Per Second with Apache Spark on Apach...Instaclustr Webinar 50,000 Transactions Per Second with Apache Spark on Apach...
Instaclustr Webinar 50,000 Transactions Per Second with Apache Spark on Apach...
 
Cassandra Summit 2014: Active-Active Cassandra Behind the Scenes
Cassandra Summit 2014: Active-Active Cassandra Behind the ScenesCassandra Summit 2014: Active-Active Cassandra Behind the Scenes
Cassandra Summit 2014: Active-Active Cassandra Behind the Scenes
 
A glimpse of cassandra 4.0 features netflix
A glimpse of cassandra 4.0 features   netflixA glimpse of cassandra 4.0 features   netflix
A glimpse of cassandra 4.0 features netflix
 
Instaclustr webinar 2017 feb 08 japan
Instaclustr webinar 2017 feb 08   japanInstaclustr webinar 2017 feb 08   japan
Instaclustr webinar 2017 feb 08 japan
 
Micro-batching: High-performance Writes (Adam Zegelin, Instaclustr) | Cassand...
Micro-batching: High-performance Writes (Adam Zegelin, Instaclustr) | Cassand...Micro-batching: High-performance Writes (Adam Zegelin, Instaclustr) | Cassand...
Micro-batching: High-performance Writes (Adam Zegelin, Instaclustr) | Cassand...
 
Cassandra Performance and Scalability on AWS
Cassandra Performance and Scalability on AWSCassandra Performance and Scalability on AWS
Cassandra Performance and Scalability on AWS
 
Cassandra CLuster Management by Japan Cassandra Community
Cassandra CLuster Management by Japan Cassandra CommunityCassandra CLuster Management by Japan Cassandra Community
Cassandra CLuster Management by Japan Cassandra Community
 
Mesosphere and Contentteam: A New Way to Run Cassandra
Mesosphere and Contentteam: A New Way to Run CassandraMesosphere and Contentteam: A New Way to Run Cassandra
Mesosphere and Contentteam: A New Way to Run Cassandra
 
Cassandra EU 2012 - Netflix's Cassandra Architecture and Open Source Efforts
Cassandra EU 2012 - Netflix's Cassandra Architecture and Open Source EffortsCassandra EU 2012 - Netflix's Cassandra Architecture and Open Source Efforts
Cassandra EU 2012 - Netflix's Cassandra Architecture and Open Source Efforts
 
Maintaining Consistency Across Data Centers (Randy Fradin, BlackRock) | Cassa...
Maintaining Consistency Across Data Centers (Randy Fradin, BlackRock) | Cassa...Maintaining Consistency Across Data Centers (Randy Fradin, BlackRock) | Cassa...
Maintaining Consistency Across Data Centers (Randy Fradin, BlackRock) | Cassa...
 
Performance tuning - A key to successful cassandra migration
Performance tuning - A key to successful cassandra migrationPerformance tuning - A key to successful cassandra migration
Performance tuning - A key to successful cassandra migration
 
Arc305 how netflix leverages multiple regions to increase availability an i...
Arc305 how netflix leverages multiple regions to increase availability   an i...Arc305 how netflix leverages multiple regions to increase availability   an i...
Arc305 how netflix leverages multiple regions to increase availability an i...
 
Suning OpenStack Cloud and Heat
Suning OpenStack Cloud and HeatSuning OpenStack Cloud and Heat
Suning OpenStack Cloud and Heat
 
Safer restarts, faster streaming, and better repair, just a glimpse of cassan...
Safer restarts, faster streaming, and better repair, just a glimpse of cassan...Safer restarts, faster streaming, and better repair, just a glimpse of cassan...
Safer restarts, faster streaming, and better repair, just a glimpse of cassan...
 
Monitoring Cassandra at Scale (Jason Cacciatore, Netflix) | C* Summit 2016
Monitoring Cassandra at Scale (Jason Cacciatore, Netflix) | C* Summit 2016Monitoring Cassandra at Scale (Jason Cacciatore, Netflix) | C* Summit 2016
Monitoring Cassandra at Scale (Jason Cacciatore, Netflix) | C* Summit 2016
 
Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...
Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...
Optimizing Your Cluster with Coordinator Nodes (Eric Lubow, SimpleReach) | Ca...
 

Viewers also liked

Програми Microsoft для розробників та стартапів
Програми Microsoft для розробників та стартапів Програми Microsoft для розробників та стартапів
Програми Microsoft для розробників та стартапів
Kyrylo Bezpalyi
 
Освітні можливості Microsoft для ЗОШ та ВНЗ
Освітні можливості Microsoft для ЗОШ та ВНЗОсвітні можливості Microsoft для ЗОШ та ВНЗ
Освітні можливості Microsoft для ЗОШ та ВНЗ
Kyrylo Bezpalyi
 
Безкоштовний хостинг від Microsoft
Безкоштовний хостинг від MicrosoftБезкоштовний хостинг від Microsoft
Безкоштовний хостинг від Microsoft
Kyrylo Bezpalyi
 
What's new in c#7
What's new in c#7What's new in c#7
What's new in c#7
Kyrylo Bezpalyi
 
Чим займаються програмісти або як почати писати код
Чим займаються програмісти або як почати писати кодЧим займаються програмісти або як почати писати код
Чим займаються програмісти або як почати писати код
Kyrylo Bezpalyi
 
Как начать путь в IT
Как начать путь в ITКак начать путь в IT
Как начать путь в IT
Kyrylo Bezpalyi
 
Windows 8
Windows 8Windows 8
Windows 8
Kyrylo Bezpalyi
 
Тестування ПЗ
Тестування ПЗТестування ПЗ
Тестування ПЗ
Kyrylo Bezpalyi
 
Microsoft Azure для розробників та стартапів
Microsoft Azure для розробників та стартапівMicrosoft Azure для розробників та стартапів
Microsoft Azure для розробників та стартапів
Kyrylo Bezpalyi
 
Освітні можливості при вивченні програмування у ЗОШ та ВНЗ
Освітні можливості при вивченні програмування у ЗОШ та ВНЗОсвітні можливості при вивченні програмування у ЗОШ та ВНЗ
Освітні можливості при вивченні програмування у ЗОШ та ВНЗ
Kyrylo Bezpalyi
 
Зачем SQL тестировщику и что ему нужно про него знать
Зачем SQL тестировщику и что ему нужно про него знатьЗачем SQL тестировщику и что ему нужно про него знать
Зачем SQL тестировщику и что ему нужно про него знать
Kyrylo Bezpalyi
 

Viewers also liked (11)

Програми Microsoft для розробників та стартапів
Програми Microsoft для розробників та стартапів Програми Microsoft для розробників та стартапів
Програми Microsoft для розробників та стартапів
 
Освітні можливості Microsoft для ЗОШ та ВНЗ
Освітні можливості Microsoft для ЗОШ та ВНЗОсвітні можливості Microsoft для ЗОШ та ВНЗ
Освітні можливості Microsoft для ЗОШ та ВНЗ
 
Безкоштовний хостинг від Microsoft
Безкоштовний хостинг від MicrosoftБезкоштовний хостинг від Microsoft
Безкоштовний хостинг від Microsoft
 
What's new in c#7
What's new in c#7What's new in c#7
What's new in c#7
 
Чим займаються програмісти або як почати писати код
Чим займаються програмісти або як почати писати кодЧим займаються програмісти або як почати писати код
Чим займаються програмісти або як почати писати код
 
Как начать путь в IT
Как начать путь в ITКак начать путь в IT
Как начать путь в IT
 
Windows 8
Windows 8Windows 8
Windows 8
 
Тестування ПЗ
Тестування ПЗТестування ПЗ
Тестування ПЗ
 
Microsoft Azure для розробників та стартапів
Microsoft Azure для розробників та стартапівMicrosoft Azure для розробників та стартапів
Microsoft Azure для розробників та стартапів
 
Освітні можливості при вивченні програмування у ЗОШ та ВНЗ
Освітні можливості при вивченні програмування у ЗОШ та ВНЗОсвітні можливості при вивченні програмування у ЗОШ та ВНЗ
Освітні можливості при вивченні програмування у ЗОШ та ВНЗ
 
Зачем SQL тестировщику и что ему нужно про него знать
Зачем SQL тестировщику и что ему нужно про него знатьЗачем SQL тестировщику и что ему нужно про него знать
Зачем SQL тестировщику и что ему нужно про него знать
 

Similar to SQL Azure in deep

OpenStack and OpenFlow Demos
OpenStack and OpenFlow DemosOpenStack and OpenFlow Demos
OpenStack and OpenFlow Demos
Brent Salisbury
 
Windows Server 2012 Active Directory Domain and Trust (Forest Trust)
Windows Server 2012 Active Directory Domain and Trust (Forest Trust)Windows Server 2012 Active Directory Domain and Trust (Forest Trust)
Windows Server 2012 Active Directory Domain and Trust (Forest Trust)
Serhad MAKBULOĞLU, MBA
 
Dragonflow Austin Summit Talk
Dragonflow Austin Summit Talk Dragonflow Austin Summit Talk
Dragonflow Austin Summit Talk
Eran Gampel
 
Sp2010 high availlability_sql
Sp2010 high availlability_sqlSp2010 high availlability_sql
Sp2010 high availlability_sqlSamuel Zürcher
 
Openflow for Cloud Scalability
Openflow for Cloud ScalabilityOpenflow for Cloud Scalability
Openflow for Cloud Scalability
DaoliCloud Ltd
 
Kuldeep presentation ppt
Kuldeep presentation pptKuldeep presentation ppt
Kuldeep presentation pptkuldeep khichar
 
Cisco open network environment
Cisco open network environmentCisco open network environment
Cisco open network environment
deepers
 
CloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVCloudStack Best Practice in PPTV
CloudStack Best Practice in PPTV
gavin_lee
 
[NetPonto] Arquitectura dos Serviços da plataforma Windows Azure
[NetPonto] Arquitectura dos Serviços da plataforma Windows Azure[NetPonto] Arquitectura dos Serviços da plataforma Windows Azure
[NetPonto] Arquitectura dos Serviços da plataforma Windows Azure
Vitor Tomaz
 
Arquitectura dos Serviços da plataforma Windows Azure
Arquitectura dos Serviços da plataforma Windows AzureArquitectura dos Serviços da plataforma Windows Azure
Arquitectura dos Serviços da plataforma Windows Azure
Comunidade NetPonto
 
Galera cluster for MySQL - Introduction Slides
Galera cluster for MySQL - Introduction SlidesGalera cluster for MySQL - Introduction Slides
Galera cluster for MySQL - Introduction Slides
Severalnines
 
Open stack in sina
Open stack in sinaOpen stack in sina
Open stack in sina
Hui Cheng
 
[Hic2011] using hadoop lucene-solr-for-large-scale-search by systex
[Hic2011] using hadoop lucene-solr-for-large-scale-search by systex[Hic2011] using hadoop lucene-solr-for-large-scale-search by systex
[Hic2011] using hadoop lucene-solr-for-large-scale-search by systexJames Chen
 
OSGi Applications Clustering using Distributed Shared Memory
OSGi Applications Clustering using Distributed Shared MemoryOSGi Applications Clustering using Distributed Shared Memory
OSGi Applications Clustering using Distributed Shared MemoryAnthony Gelibert
 
Dell web monsters-oct2011-v6-public
Dell web monsters-oct2011-v6-publicDell web monsters-oct2011-v6-public
Dell web monsters-oct2011-v6-public
Barton George
 
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
Vitor Tomaz
 
Deploying OpenStack using Crowbar
Deploying OpenStack using CrowbarDeploying OpenStack using Crowbar
Deploying OpenStack using Crowbaropenstackindia
 
Stairway to heaven webinar
Stairway to heaven webinarStairway to heaven webinar
Stairway to heaven webinarCloudBees
 
Azure and cloud design patterns
Azure and cloud design patternsAzure and cloud design patterns
Azure and cloud design patterns
Venkatesh Narayanan
 
Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...
Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...
Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...
SQLExpert.pl
 

Similar to SQL Azure in deep (20)

OpenStack and OpenFlow Demos
OpenStack and OpenFlow DemosOpenStack and OpenFlow Demos
OpenStack and OpenFlow Demos
 
Windows Server 2012 Active Directory Domain and Trust (Forest Trust)
Windows Server 2012 Active Directory Domain and Trust (Forest Trust)Windows Server 2012 Active Directory Domain and Trust (Forest Trust)
Windows Server 2012 Active Directory Domain and Trust (Forest Trust)
 
Dragonflow Austin Summit Talk
Dragonflow Austin Summit Talk Dragonflow Austin Summit Talk
Dragonflow Austin Summit Talk
 
Sp2010 high availlability_sql
Sp2010 high availlability_sqlSp2010 high availlability_sql
Sp2010 high availlability_sql
 
Openflow for Cloud Scalability
Openflow for Cloud ScalabilityOpenflow for Cloud Scalability
Openflow for Cloud Scalability
 
Kuldeep presentation ppt
Kuldeep presentation pptKuldeep presentation ppt
Kuldeep presentation ppt
 
Cisco open network environment
Cisco open network environmentCisco open network environment
Cisco open network environment
 
CloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVCloudStack Best Practice in PPTV
CloudStack Best Practice in PPTV
 
[NetPonto] Arquitectura dos Serviços da plataforma Windows Azure
[NetPonto] Arquitectura dos Serviços da plataforma Windows Azure[NetPonto] Arquitectura dos Serviços da plataforma Windows Azure
[NetPonto] Arquitectura dos Serviços da plataforma Windows Azure
 
Arquitectura dos Serviços da plataforma Windows Azure
Arquitectura dos Serviços da plataforma Windows AzureArquitectura dos Serviços da plataforma Windows Azure
Arquitectura dos Serviços da plataforma Windows Azure
 
Galera cluster for MySQL - Introduction Slides
Galera cluster for MySQL - Introduction SlidesGalera cluster for MySQL - Introduction Slides
Galera cluster for MySQL - Introduction Slides
 
Open stack in sina
Open stack in sinaOpen stack in sina
Open stack in sina
 
[Hic2011] using hadoop lucene-solr-for-large-scale-search by systex
[Hic2011] using hadoop lucene-solr-for-large-scale-search by systex[Hic2011] using hadoop lucene-solr-for-large-scale-search by systex
[Hic2011] using hadoop lucene-solr-for-large-scale-search by systex
 
OSGi Applications Clustering using Distributed Shared Memory
OSGi Applications Clustering using Distributed Shared MemoryOSGi Applications Clustering using Distributed Shared Memory
OSGi Applications Clustering using Distributed Shared Memory
 
Dell web monsters-oct2011-v6-public
Dell web monsters-oct2011-v6-publicDell web monsters-oct2011-v6-public
Dell web monsters-oct2011-v6-public
 
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
 
Deploying OpenStack using Crowbar
Deploying OpenStack using CrowbarDeploying OpenStack using Crowbar
Deploying OpenStack using Crowbar
 
Stairway to heaven webinar
Stairway to heaven webinarStairway to heaven webinar
Stairway to heaven webinar
 
Azure and cloud design patterns
Azure and cloud design patternsAzure and cloud design patterns
Azure and cloud design patterns
 
Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...
Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...
Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...
 

Recently uploaded

A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
Globus
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
UiPathCommunity
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 

Recently uploaded (20)

A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 

SQL Azure in deep

  • 1. SQL Azure Database. Under the hood What, how and why Cloud is different Kirill Bezpalyi, MSP, VNTU 12/25/2011
  • 2. Что впереди?  Осмотр сервиса  Архитектура SQL Azure  Отказоустойчивость  Аппаратная организация  Мониторинг  Безопасность  Итоги 2 12/25/2011
  • 3. SQL Azure model  Each account has zero or more servers Account  Azure wide, provisioned in a common portal  Billing instrument  Each server has one or more databases  Zone for authentication: userId+password  Zone for administration and billing Server  Metadata about the databases and usage  Network access control based on client IP  Has unique DNS name and unit of geo-location  Each database has standard SQL objects  Unit of consistency and high availability (autonomous replication) Database  Contains Users, Tables, Views, Indices, etc…  Most granular unit of usage reports  Three SKUs available (1GB, 10GB and 50GB) 3 12/25/2011
  • 4. SQL Azure Network Topology use standard SQL Applications Application client libraries: ODBC, ADO.Net, PHP, … Internet Azure Cloud TDS (tcp) Security Boundary Load balancer forwards „sticky‟ LB sessions to TDS protocol tier TDS (tcp) Gateway Gateway Gateway Gateway Gateway Gateway Gateway: TDS protocol gateway, enforces AUTHN/AUTHZ policy; proxy to CloudDB TDS (tcp) L SQL SQL SQL SQL 4 12/25/2011 Scalability and Availability: Fabric, Failover, Replication, and Load balancing
  • 5. Replication  All reads are completed at the primary Ack Read Write  Writes Value Ack replicated to Ack write quorum of replicas Ack P Ack  Commit on secondaries S Write Write S first then primary S Write Write S  Each transaction has a commit 5 sequence 12/25/2011 number (epoch,
  • 6. Reconfiguration  Types of reconfiguration  Primary failover  Removing a failed secondary Failed  Adding recovered replica  Building a new secondary S B P  Assumes S Failed  Failure detector  Leader election  Safe in the presence  Both services provided by of cascading failures Fabric layer 6 12/25/2011
  • 7. Partition Management  Partition Manager (PM) is a highly available service running in the Master cluster  Ensures all partitions are operational  Places replicas across failure domains (rack/switch/server)  Ensures all partitions have target replica count  Balances the load across all the nodes  Each node manages multiple partitions  Global state maintained by the PM can be recreated from the local node state in event of disaster (GPM rebuild) 7 12/25/2011
  • 8. System in Operation Primary master node SQL Server Partition Manager Partition Global Load Balancer Managemen Partition t Partition Placement map Advisor Leader Fabric Elector Data Node Data Node Data Node Data Node Data Node Data Node 100 101 102 103 104 105 P S P P S P S S S S S S S P S S S S S S S S S Fabric Secondary Primary Secondary 8 12/25/2011
  • 9. SQL node Architecture  Single physical DB for entire Machine SQL node Instance  DB files and log shared master across every logical database/partition tempdb  Allows better logging msdb throughput with sequential IO/group commits CloudNode  No auto-growth on demand stalls DB1 DB2 master  Uniform manageability and DB5 DB1 DB7 backup  Each partition is a “silo” with DB3 DB4 DB7 its own independent schema  Local SQL backup guards against software bugs 9 12/25/2011
  • 10. Recap  Two kinds of nodes:  Data nodes store application data  Master nodes store cluster metadata  Node failures are reliably detected  On every node, SQL and Fabric processes monitor each other  Fabric processes monitor each other across nodes  Local failures cause nodes to fail-fast  Failures cause reconfiguration and placement changes 10 12/25/2011
  • 11. Hardware Architecture  Each rack hosts 2 pods of L2 Switch 20 machines each  Each pod has a TOR mini- switch  10GB uplink to L2 switch  Each SQL Azure machine runs on commodity box  Example:  8 cores  32 GB RAM  1TB+ SATA drives  Programmable power  1Gb NIC  Machine spec changes as hardware (pricing) evolves 11 12/25/2011
  • 12. Hardware Challenges SATA drives  On-disk cache and lack of true "write through" results in Write Ahead Logging violations  DB requires in-order writes to be honored  Can force flush cache, but causes performance degradation  Disk failures happen daily (at scale), fail-fast on those  Bit-flips (enabled page checksums)  Drives just disappear  IOs are misdirected  Faulty NIC  Encountered message corruption 12  Enabled message signing and checksums 12/25/2011
  • 13. Software Deployment  OS is automatically imaged via deployment  All the services are setup using file copy  Guarantees on which version is running  Provides fast switch to new version  Minimal global state allows running side by side  Yes, that includes the SQL Server DB engine  Rollout is monitored to ensure high availability  Knowledge of replica state health ensure SLA is met  Two phase rollouts for data or protocol changes  Leverages internal Autopilot technologies with SQL Azure extensions 13 12/25/2011
  • 14. Software Challenges  Lack of real-time OS features  CPU priority  High priority for Fabric lease traffic  Page Faults/GC  Locked pages for SQL and Fabric (in managed code)  Fail fast or not?  Yes, for corruption/AV  No, for other issues unless centrally controlled  What is really considered failed?  Some failures are non-deterministic or hangs  Multiple protocols / channels means partial failures too 14 12/25/2011
  • 15. Monitoring  Health model w/repair actions  Reboot -> Re-deploy -> Re-image (OS) -> RMA cycle  Additional monitoring for SQL tier  Connect / network probes  Memory leaks / hung worker processes  Database corruption detection  Trace and performance stats capture  Sourced from regular SQL trace and support mechanisms  Stored locally and pushed to a global cluster wide store  Global cluster used for service insight and problem tracking 15 12/25/2011
  • 16. SQL Azure Login Process 7 1 TDS Gateway Front-end Node TDS Session Protocol Parser 6 2 Gateway Logic Global Partition Map Master Node 8 3 Master Node Components 4 5 Backend Node 1 Backend Node 2 Backend Node 3 SQL Instance SQL Instance SQL Instance SQL DB SQL DB SQL DB 16 Scalability and and Availability: Fabric,Failover,Replication, and Load balancing Scalability Availability: Fabric, Failover, Replication, and Load balancing 12/25/2011
  • 17. Security/Attack Considerations  Service  Secure channel required (SSL)  Denial Of Service trend tracking  Packet Inspection  Server  IP allow list (Firewall)  Idle connection culling  Generated server names  Database  Disallow the most commonly attacked user id‟s (SA, Admin, root, guest, etc)  Standard SQL Authn/Authz mode 17 12/25/2011
  • 18. Set up a server... 18 12/25/2011
  • 19. SQL Azure Compatibility Currently Supported Not Currently Supported  Tables, indexes and  Data Types views  Sparse Columns, Filestream  Stored Procedures  Partitions  Triggers  Full-text indexes  Constraints  SQL-CLR  Table variables, session temp tables (#t)  Spatial types, HierarchyId 19 12/25/2011
  • 20. Size Matters 20 12/25/2011
  • 21. Pricing 21 12/25/2011
  • 22. Summary  Cloud is different  Not a different place to host code  SQL Azure IS SQL Server…a TDS endpoint  Create DB‟s and manage using what we already know  Considerations and futures paint exciting picture of what to expect looking forward  Opportunities are great  Customers want a utility approach to storage  New businesses and abilities in scale, availability, etc  But the price must be paid  Which is a good thing, otherwise everyone would be 22 12/25/2011 doing it!
  • 23. Materials  SQL Azure  http://www.microsoft.com/windowsazure/sqlazure/  SQL Azure “under the hood”  http://www.microsoftpdc.com/sessions/tags/sqlazure  SQL Azure Fabric  http://channel9.msdn.com/pdc2008/BB03/  General Guidelines & Limitations  http://msdn.microsoft.com/en-us/library/ee336245.aspx 23 12/25/2011
  • 24. Q&A Ask your questions… 24 12/25/2011
  • 25. Your potential. Our passion.TM