cs 744 pywren
play

CS 744: PYWREN Shivaram Venkataraman Fall 2019 ADMINISTRIVIA - PowerPoint PPT Presentation

CS 744: PYWREN Shivaram Venkataraman Fall 2019 ADMINISTRIVIA Happy Thanksgiving!? NEW HARDWARE MODELS Infiniband Networks Compute Accelerators Serverless Computing Non-Volatile Memory SERVERLESS COMPUTING MOTIVATION: USABILITY What


  1. CS 744: PYWREN Shivaram Venkataraman Fall 2019

  2. ADMINISTRIVIA Happy Thanksgiving!?

  3. NEW HARDWARE MODELS

  4. Infiniband Networks Compute Accelerators Serverless Computing Non-Volatile Memory

  5. SERVERLESS COMPUTING

  6. MOTIVATION: USABILITY What instance type? What base image? How many to spin up? What price? Spot?

  7. ABSTRACTION LEVEL ? Logistic Regression Application Application Compute Spark Framework Compute Framework Amazon EC2 CloudLab Hardware Private Cluster …

  8. STATELESS DATA PROCESSING

  9. “Serverless” computing 300 900 seconds single-core 512 MB in /tmp 3GB RAM Python, Java, node.js

  10. PYWREN API

  11. PYWREN: how it works future = runner.map(fn, data) future.result() your laptop the cloud

  12. how it works future = runner.map(fn, data) data data func data Serialize func and data Put on S3 pull job from s3 Invoke Lambda download anaconda runtime python to run code pickle result stick in S3 future.result() poll S3 result unpickle and return your laptop the cloud

  13. STATELESS FUNCTIONS: WHY NOW ? What are the trade-offs ?

  14. MAP and REDUCE ? Input Output Data Data

  15. PARAMETER SERVERS get Use lambdas to run “workers” update Parameter server as a service ? Parameter Server

  16. WHEN Should we use SERVERLESS ? Yes! Maybe not ?

  17. SUMMARY Motivation: Usability of big data analytics Approach: Language-integrated cloud computing Features - Breakdown computation into stateless functions - Schedule on serverless containers - Use external storage for state management Open question on scheduling, overheads

  18. DISCUSSION https://forms.gle/Y9AFUpvVBA7LpKqh7

  19. Consider you are a cloud provider (e.g., AWS) implementing support for serverless. What could be some of the new challenges in scheduling these workloads? How would you go about addressing them?

  20. OPEN QUESTIONS - Scalable scheduling: Low latency with large number of functions ? - Debugging: Correlate events across functions ? - Launch overheads: Fraction of time spent in setup (OpenLambda) - Resource limits: 15 minute AWS Lambda (Oct 2018)

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