Jiazhang Liu;Yiren Ding Team 8 [10/22/13]. Traditional Database Servers Database Admin DBMS 1.

Similar presentations


Presentation on theme: "Jiazhang Liu;Yiren Ding Team 8 [10/22/13]. Traditional Database Servers Database Admin DBMS 1."— Presentation transcript:

1 Jiazhang Liu;Yiren Ding Team 8 [10/22/13]

2 Traditional Database Servers Database Admin DBMS 1

3 Traditional Database High cost Lack of elasticity Hard to maintain 1

4 Introduction Relational Cloud: “database-as-a-service” ( DBaaS ) Why is it attractive? – Hardware and energy cost much lower – The cost is proportional to actual use (pay-per-use) So, how to make Relational Cloud more attractive? – Efficient multi-tenancy – Elastic scalability – Database privacy 2

5 Efficient multi-tenancy Given a set of databases and workloads, what is the best way to serve them from a given set of machines? 3

6 Efficient multi-tenancy Solution: – uses a single database server on each machine which hosts multiple logical databases. – Relational Cloud periodically determines which databases should be placed on which machines using a novel non-linear optimization formulation. – a cost model that estimates the combined resource utilization of multiple databases running on a machine. 3

7 Elastic scalability A good DBaaS must support database and work- loads of different sizes. The challenge arise when a database work- load exceeds the capacity of a single machine. Must support scale-out, where responsibility for query processing is partitioned among multiple nodes to achieve higher throughput. 4

8 Database Privacy Encrypt all the data stored in the DBaaS. – privacy concerns would largely be eliminated. However, any impact on processing encrypted data? 5

9 Database Privacy – Developed CryptDB: to provide privacy with an acceptable impact on performance (22.5% reduction in throughput) 5

10 Database partitioning to scale a single database to multiple nodes, useful when the load exceeds the capacity of a single machine. to enable more granular placement and load balance on the back-end machines compared to placing entire databases. 6

11 Database Placement Resource allocation is a major challenge when designing a scalable, multi-tenant Service like Relational Cloud. 7

12 Database Placement Resource Monitor Monitor the resource requirements of each workload Combined Load Predictor Predicting the load multiple workloads will generate when run together on a server Consolidation Engine Assigning workloads to physical servers 7

13 SYSTEM DESIGN Relational Cloud Architecture 8

14 9

15 Flipboard Greg Scallan, Chief Architect at Flipboard says, “Our service currently runs 100% on AWS in multiple availability zones.” “We chose AWS because they were able to provide a majority of the solution we needed as we built our data center. Also, we appreciated the flexibility as we tried out various solutions to our business vision.” 10

16 Sources Relational Cloud: A Database-as-a-Service for the Cloud : http://people.csail.mit.edu/nickolai/papers/curin o-relcloud-cidr.pdf http://people.csail.mit.edu/nickolai/papers/curin o-relcloud-cidr.pdf AWS Case Study: Flipboardhttps://aws.amazon.com/solutions/case -studies/flipboard/https://aws.amazon.com/solutions/case -studies/flipboard/ AWS Documentationhttp://docs.aws.amazon.com/AW SEC2/latest/UserGuide/concepts.htmlhttp://docs.aws.amazon.com/AW SEC2/latest/UserGuide/concepts.html 11

17 Questions? 12


Download ppt "Jiazhang Liu;Yiren Ding Team 8 [10/22/13]. Traditional Database Servers Database Admin DBMS 1."

Similar presentations


Ads by Google