Lessons Learned from Running Serverless Workloads on ... - schd.ws
Recommend Documents
Lessons presented in evaluation reports are often of highly variable quality and limited utility. They are âoften platitudes borne of a felt need to demonstrate ...
to create successful change.6 Appreciative inquiry has five underlying principles: â¡ The positive principle implies that positive thinking provides needed energy ...
operation in map generalization (McMaster & Shea 1992). So we .... Mackaness and Gould (2014) pleaded for a better consideration of geographic saliency in ...
Meet with your client alone. Failure to do so may result in waiver of the attorney-client privilege as well as increase the likelihood of a will contest based on ...
new IDE or editor. ⢠uses the same support frameworks, e.g.. Ant, Make, Maven, JUnit. ⢠uses the same tools (beyond
Nov 16, 2015 - the recovery of communities by helping small businesses to resume ...... Set as a calling center, all callers used a standardized an adaptive, ...
cooperative aspects of novice-oriented music creation activities in CODES. 1. Introduction ..... CMP context. 1http://www.useit.com/papers/heuristic/heuristic list.html ... Music creation by novices is ultimately about people having fun and.
Aug 31, 2017 - States is home to many of the country's .... In many facilities, nonessential personnel were sent home ... hurricane, headed towards the Texas.
Therefore, research on PCK development in (prospective) teachers is highly relevant. Based on a ... Hence, to improve the quality of education, investing in ...... ark an d. O liver. [4. 4. ] Science. (a). Seco n dary. (b). In-service,exp erienced. (
I hate all programming languages. - Matt Foemmel .... about programming is not worth knowing. ... non-production code. â
Bulk Synchronous Parallelism 4,5], or BSP, is a model of parallel .... for this processor try to send it as their rst communication action, then there will be.
spectral resolution mode is unique in the southern hemisphere; it offers for ... Right panel, shift-and-add and image selection are applied to burst mode data.
Jul 10, 2017 - Background: Fournier's gangrene (FG) is a rapidly evolving necrotizing fasciitis of ... mainly males, but it can also present in females too (1â5).
1. Within ten days of project completion, the Bid Manager contacts the Mediator ... The Editor (each Team has one) edits
Siku moja Mzee Bungi alitoa pongezi na shukrani zake za dhati kwa Mradi wa ... sana kuona siku moja kila mtu analima matuta na kufuga mifugo kwa wingi kwa ...
enable agile groups to respond rapidly to changing circumstances. ... learned from their experiences to apply to military HQ to improve command and ...... The Economist Intelligence Unit Limited and KPMG Consulting (2001) Going by the.
including the survey instrument used, is avai- lable on the LBBC website as a white paper enti- tled ''Silent Voices: Women with Advanced. 196. M. MAYER ...
May 16, 2017 - of a great importance, because now the âgrand challengeâ [Mec98, CI07] was mastered. ...... [WH86]. DRGHR Williams and GE Hinton.
Lessons Learned from the Deepwater Horizon Response National Institute for Occupational Safety and Health December, 2011 Department of Health and Human Services
Jun 24, 2013 - The Health Information Technology for Economic and. Clinical Health (HITECH) Act, [9] which will award multi-million dollar incentive payments ...
Mar 2, 2007 - of Florida, and the Florida De- partment of ... fices, schools, churches, stores, and 3 hospitals. ..... and children: industry trade group helps.
(CSR) has proliferated in academic and business circles alike. In the context of CSR, .... tition for limited funding, escalating societal needs, hostile environmental ...
Apr 1, 2010 - Department of Pharmaceutical Services, University of California Davis ... and antimicrobial-resistance rates among P. aeruginosa isolates had ... aeruginosa were structural lung disease, ICU admission, recent third generation.
Sep 11, 2009 - Lessons Learned from Mine Disasters: New Technologies and. Guidelines to Prevent ...... âAdobe Shotsâ in Figure 14) to break up large rocks.
Lessons Learned from Running Serverless Workloads on ... - schd.ws
Planning to write blog post about the experience of .... AWS Lambda, Azure Funcjons, Google Cloud ... Overview: h ps://d
Lessons Learned from Running Serverless Workloads on Mesos Diana Arroyo & Alek Slominski IBM Research
Serverless: Quo Vadis? • We hope our serverless workload generator is useful tool for anybody looking on serverless services and want to compare them in more depth. • Planning to write blog post about the experience of serverless workload generaIon and benchmarking and open source the benchmark.
If you have some quesIons, feedback, or want to tell me where I am wrong? Aleksander Slominski @aslom
Serverless Workload CharacterisIcs • Serverless workloads can require thousands of concurrent short lived containers to be created and destroyed in milliseconds: • Container aka AcIon aka FuncIon aka …. – Depends of servless service, framework, ...
• Required operaIons: – Start lot of acIons (short lived containers) – Generate work: send request, generate response, and repeat – AcIons run for some Ime to allow for reuse (cold vs. hot)
Serverless Workload Benchmark Goals • Simulate lifecycle of serverless acIon as it takes part in serverless workload • Minimal scenario: – – – –
Test serverless acIon start Ime Send N requests and validate response Pause / Resume acIon as needed Stop (kill) acIons
• Scenario parameters: how many acIons are started, when, for how long etc. • Workload runs mulIple scenario (in sequence, parallel etc.) • Gather staIsIcs about workload execuIon – Enough to learn how well test environments are handling high such scenarios?
Simple Scenario: WebSocket Test driver (overall workload) WebSocket
Scenario Instance 1
Scenario Instance 2
…
WebSocket
AcIon
…
AcIon
…
Scenario Instance S
Extended Workload Scenario Test driver (overall aggregate scenario 1)
Aggregate Scenario 1-1
Scenario Instance 1-1-2
AcIon
…
Scenario Instance 1-1-2
AcIon
Test driver (overall workload)
…
Scenario Instance S
…
Simple Setup Scenario Setup: Docker • Start test driver container when it starts running it opens listening sockets and starts S scenario containers – docker run driver –e setup_for_scenario_containers
• Each scenario container connects using websocket to the driver and starts A acIon containers – docker run scenario –e setup_for_acIon_containers –e WS_CALLBACK=ws://test_driver:port)
• Each acIon container when started connects using websocket back to scenario container to ask for requests – docker run hello-acIon WS_CALLBACK=ws://scenario:port
Simple Scenario ExecuIon ExecuIon: • The test driver container a_er starIng S scenario containers waits on a websocket for results from scenario containers • Each scenario container a_er starIng A acIon containers waits on a websocket from an acIon containers and then starts sending N requests and waits for responses • Each acIon containers a_er starIng sends “ready” over websocket and then waits for requests, processes each request (sleep for M milliseconds) and sends response back End result: • 1 + S + S*A containers running (driver container + scenario containers + acIon containers) • S *A * N requests processed • Test duraIon: ideal Ime (with zero startup Ime): N * M milliseconds
Environment ConfiguraIon • Swarm – Version 1.2.4**
• Mesos – 0.27** Compute Host
• Docker – 1.10.2
Mesos Agent
Swarm
Mesos Master
Mesos Docker Mesos Docker Executor(s) Executor(s)
Docker Engine
Current Results • Swarm Sync issues and deadlock – PR2412: Fix double RLock in Mesos cluster
• Custom Executor – One executor per node vs. one executor per container to minimize startup costs
Current Results • Results
– Preliminary tesIng shows improved performance over Mesos Executor.
Whisk Requests per Second (Swarm Only)
40.00
400.00
35.00
350.00
30.00
300.00
25.00 20.00
Mesos Executor
15.00
Custom Executor
10.00 5.00
Time (seconds)
Time (seconds)
Whisk Requests per Second (Swarm +Mesos)
250.00 200.00 Swarm Only
150.00 100.00 50.00
0.00
0.00 0
200
400
600
Number of Containers
800
1000
0
200
400
600
800
Number of Containers
1000
Lessons learned • Scaling becomes harder as size increases
– We can run easily 100s but run into issues when running 1000 containers
• Locking in Swarm
– Only shows with this workload (different Iming of some operaIons in Swarm-Mesos leads to deadlocks ….)
• LimitaIons in Docker engine
– It seems we hit some limits on how many processes can be started per second – Different in different versions of Docker
Reproducing results and other workloads • We are making workload scripts available: – hnps://github.com/aslom/serverless-workloadscripts – AddiIonal measurement available to track individual acIons startup and scripts to visualize results with pyplot
• The results are meaningful only in your environment and when you compare it to your workloads – Scripts are easy to modify and we will accept PR
Future work • OpImized Docker executor for Mesos • Other changes to Mesos to bener handle serverless workloads? • Test and compare other serverless opIons: – AWS Lambda, Azure FuncIons, Google Cloud FuncIons, IBM OpenWhisk, …