orchestrating the deployment of computations in the cloud
play

Orchestrating the Deployment of Computations in the Cloud with - PowerPoint PPT Presentation

Orchestrating the Deployment of Computations in the Cloud with Conductor Alexander Wieder Pramod Bhatotia Ansley Post Rodrigo Rodrigues NSDI 2012 27.04.2012 1 Options for Processing Data in the Cloud Client What's the best Web Services


  1. Orchestrating the Deployment of Computations in the Cloud with Conductor Alexander Wieder Pramod Bhatotia Ansley Post Rodrigo Rodrigues NSDI 2012 27.04.2012 1

  2. Options for Processing Data in the Cloud Client What's the best Web Services strategy to use S3 S3 S3 cloud services? Amazon local local EC2 2

  3. Why is choosing the best strategy challenging? Variety of services and providers with different ● Pricing models ● Performance characteristics ● Locations ● Interfaces Hybrid deployments ● Use own infrastructure and/or multiple different services at the same time Dynamics during runtime ● Performance variations ● Spot markets 3

  4. Conductor Goals Simplify the management of cloud resources: ● Automatization : Automatically optimize resource allocation ● Transparency : Use multiple different services seamlessly ● Adaptivity : Automatically adapt to dynamics ● Performance variations ● Variable resource cost on spot markets 4

  5. Outline ● Conductor System Overview ● Modeling Computations ● Using Cloud Resources Transparently ● Evaluation 5

  6. High Level System Design run Frameworks job Dryad submit job to framework monitor execution How can we submit job to Controller allocate Conductor transparently use resources cloud resources? LP based execution plan execution model How can we LP Solver model computations? 6

  7. Outline ✔ ● Conductor System Overview ● Modeling Computations ● Using Cloud Resources Transparently ● Evaluation 7

  8. Modeling Computations ● Hard to model computations in general case ● Unknown : ● Data access patterns ● Processing time ● Scalability ● Feasible for specific programming models, e.g., MapReduce 8

  9. Modeling MapReduce Computations How can we model MapReduce Computations? ● Data-parallel processing ● Mostly linear dependencies: ● Performance ● Resources ● Cost ➔ Problem calls for a formulation as a linear program! 9

  10. Modeling MapReduce Computations Data Upload Computation steps: ● Storing data ● Transferring data ● Processing data S3 local ● Migrating data Computation Providers Graph based model: ● Vertices : data storage and processing S3 local ● Edges : data transfer Storage Providers 10

  11. Outline ✔ ● Conductor System Overview ✔ ● Modeling Computations ● Using Cloud Resources Transparently ● Evaluation 11

  12. Deploying Jobs on the Cloud backend specific interface local HD on VM Resource Abstraction Frameworks Dryad Storage Layer S3 Computation uniform migrate key-value and interface upload 12

  13. Outline ✔ ● Conductor System Overview ✔ ● Modeling Computations ✔ ● Using Cloud Resources Transparently ● Evaluation 13

  14. Evaluation Questions we answer in the evaluation: ● Can Conductor find optimal execution plans? ● Can Conductor efficiently adapt to dynamics? ● Can Conductor enable hybrid deployments? see paper ● What overheads does Conductor impose? 14

  15. Evaluation Finding Optimal Execution Plans Scenario: ● Job: k-means clustering, 32GB input data ● Resources: EC2, S3 ● Deadline: 6h ● Minimize monetary cost Goal: ● Automatically select resources ● Manage data transfer ● Launch job 15

  16. Evaluation Finding Optimal Execution Plans storing 1/3 on S3 and 2/3 on EC2 is optimal 16

  17. Evaluation Adapting to Dynamics Observed resource performance in the cloud can vary for several reasons: ● Interference with co-located VM instances ● Network congestion ● Failures Scenario: ● EC2 performance ~3x overestimated Conductor doesn't allocate enough resources to finish before deadline 17

  18. Evaluation Adapting to Dynamics Deadline Job progress: Conductor updated deployment after 1h Allocated nodes: 18

  19. Evaluation Adapting to Spot Market Prices Can Conductor help cutting cost by leveraging spot resources? 19

  20. Evaluation Adapting to Spot Market Prices Methodology: ● Simulate job deployment using EC2 spot instances ● Spot pricing history over ~4 weeks ● Conductor uses an oracle or simple pricing predictor regular oracle predictor 20

  21. Outline ✔ ● Conductor System Overview ✔ ● Modeling Computations ✔ ● Using Cloud Resources Transparently ✔ ● Evaluation 21

  22. Summary and Conclusion Observation: Making best use of the cloud is hard! Conductor's approach: ● LP-based system model ● Optimize for user goals ● Resource abstraction layers ● Adapt during runtime Evaluation results: Conductor can efficiently manage cloud deployments Future work: Apply Conductor's approach to other frameworks 22

  23. Thanks for your Attention! 23

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend