sudipto das divy agrawal amr el abbadi
play

Sudipto Das, Divy Agrawal, Amr El Abbadi Department of Computer - PowerPoint PPT Presentation

Sudipto Das, Divy Agrawal, Amr El Abbadi Department of Computer Science University of California at Santa Barbara ElasTraS: An Elastic Transactional Data Store in the Cloud Paradigm Shift in Computing 6/30/09 ElasTraS: An Elastic Transactional


  1. Sudipto Das, Divy Agrawal, Amr El Abbadi Department of Computer Science University of California at Santa Barbara

  2. ElasTraS: An Elastic Transactional Data Store in the Cloud Paradigm Shift in Computing 6/30/09

  3. ElasTraS: An Elastic Transactional Data Store in the Cloud Cloud Computing  Software as a Service (SaaS)  Platform as a Service (PaaS)  Infrastructure as a Service (IaaS)  Utility Computing: pay‐as‐you‐go computing  No up‐front cost  Elasticity and illusion of infinite resources  Transfer of risks  Scalable and Elastic infrastructure for hosting applications and services 6/30/09

  4. ElasTraS: An Elastic Transactional Data Store in the Cloud Typical Software Stack Client Site Load Balancer Web Server/ Applica6on Server DB Server 6/30/09

  5. ElasTraS: An Elastic Transactional Data Store in the Cloud Scaling in the Cloud Client Site Client Site Client Site HAProxy (Load Balancer) Elas(c IP Apache Apache Apache Apache Apache + App + App + App + App + App Server Server Server Server Server Replica(on Database becomes the MySQL MySQL Scalability Bottleneck Master DB Slave DB Cannot leverage elasticity 6/30/09

  6. ElasTraS: An Elastic Transactional Data Store in the Cloud Scaling in the Cloud Client Site Client Site Client Site HAProxy (Load Balancer) Elas(c IP Apache Apache Apache Apache Apache + App + App + App + App + App Server Server Server Server Server Replica(on MySQL MySQL Master DB Slave DB 6/30/09

  7. ElasTraS: An Elastic Transactional Data Store in the Cloud Scaling in the Cloud Client Site Client Site Client Site HAProxy (Load Balancer) Elas(c IP Apache Apache Apache Apache Apache + App + App + App + App + App Server Server Server Server Server Scalable and Elastic Key Value Stores But minimal consistency and operational flexibility 6/30/09

  8. ElasTraS: An Elastic Transactional Data Store in the Cloud Scaling in the Cloud Client Site Client Site Client Site HAProxy (Load Balancer) Elas(c IP Apache Apache Apache Apache Apache + App + App + App + App + App Server Server Server Server Server Key Value Stores 6/30/09

  9. ElasTraS: An Elastic Transactional Data Store in the Cloud Scaling in the Cloud Client Site Client Site Client Site HAProxy (Load Balancer) Elas(c IP Apache Apache Apache Apache Apache + App + App + App + App + App Server Server Server Server Server ElasTraS Better Scalability than Databases Higher Consistency than Key Value stores 6/30/09

  10. ElasTraS: An Elastic Transactional Data Store in the Cloud ElasTraS  Is it yet another Distributed Database?  ……  It’s a Lightweight Distributed Data Store  Scalable design principles borrowed from Bigtable  Transaction Management & Failure Recovery borrowed from Databases  An Elastic and Scalable Transactional Store 6/30/09

  11.  Exclusive access rights to database partitions  Executes client transactions for the partitions it owns  Aggressive caching of partitions locally  No interaction across OTMs  Interacts with Metadata Manager for obtaining Owning leases OTM 1 OTM 2 OTM n TM Raw Distributed Storage (S3) Storage 6/30/09

  12.  Heart and Brain of the system  Distributed lease management for the partitions  Maintaining persistent mapping of partitions to Metadata owning transaction managers Manager  Monitoring the health of the system and Master  Synchronous replication of metadata for fault‐ Owning tolerance OTM 1 OTM 2 OTM n TM Raw Distributed Storage (S3) Storage 6/30/09

  13.  Absorb read only query workload  Cache partial database contents HTM m HTM 1 HTM 2  Answer queries from the database cache Metadata  Read‐only access to the entire database Manager  No state associated with an HTM and  Acts as coordinator for execution of Master minitransactions Owning OTM 1 OTM 2 OTM n TM Raw Distributed Storage (S3) Storage 6/30/09

  14. Applica.on and Web Servers Load Balancer for DB Server Higher HTM m HTM 1 HTM 2 level TM Metadata Manager and Master Owning OTM 1 OTM 2 OTM n TM Raw Distributed Storage (S3) Storage 6/30/09

  15. ElasTraS: An Elastic Transactional Data Store in the Cloud Digging into ElasTras  Partitioned database  Can be configured for static as well as dynamic partitioning  Limited transactional semantics  Support for minitransactions [Sinfonia] 6/30/09

  16. ElasTraS: An Elastic Transactional Data Store in the Cloud Design Principles  Segregate System metadata from Application Specific data  Different semantics – different requirements  Limit Application Interaction to Single physical machine  Restricted transactional semantics  Limited Distributed synchronization is practical  Synchronous replication and Distributed consensus for consistent and fault tolerant storage of meta data 6/30/09

  17. ElasTraS: An Elastic Transactional Data Store in the Cloud Concluding Remarks  Easy transition of partitioned Enterprise database systems into the cloud  Flexible schema for supporting a wide variety of applications  Static Partitioning: Can support transactions limited to partitions  Dynamic Partitioning: Can support only minitransactions  Elasticity through partitioning 6/30/09

  18. 6/30/09

Recommend


More recommend