The SPEC Cloud Group's Research Vision on FaaS and Serverless Architectures Erwin van Eyk (TU Delft) Alexandru Iosup (VU / TU Delft) Simon Seif (SAP SE) Markus Thömmes (IBM) 1
SPEC RG Cloud - Serverless Gaining deeper understanding in serverless and FaaS architectures, with a focus on performance (evaluation). 2
Business Logic vs. Operational Logic Types of logic Cloud (Native) Application FaaS Serverless Challenges 3
Business Logic vs. Operational Logic Logic related to QoS: Logic directly related to use case: - Keeping OS up to date - Fetching a user’s balance - Serving clients - Generating a daily report - Managing DB connections - Calculating portfolio risk Business Logic Types of logic FaaS Serverless Challenges Operational Logic 4
Joint Problem Cloud users: want to avoid complex operational logic Business Logic Types of logic FaaS Serverless Challenges Operational Logic Cloud providers: aim for higher resource utilization 5
Monoliths • Difficult to Scale Monolithic Application • Infrequent, complex deployments • Tightly coupled stack Types of logic Operational Logic FaaS Serverless Challenges Infrastructure Monoliths Microservices FaaS 6
Microservices (µs) µs µs • scalable • DevOps practices Operational Operational Logic Logic • Complexity shifts from application logic to µs µs operational logic. Types of logic Operational Operational FaaS Logic Logic Serverless Challenges Infrastructure Monoliths Microservices FaaS 7
Function-as-a-Service Function Function • Clear separation of business Function Function logic vs. operational logic Function Function • Minimal unit of deployment Function Function • Minimal coupling between each layer Types of logic Operational Logic FaaS Serverless Challenges Infrastructure Monoliths Microservices FaaS 8
Serverless vs. FaaS Types of logic FaaS Serverless FaaS Serverless - A form of serverless computing - (Almost) no operational logic - User provides a function — - Event-Driven Challenges deployed and managed by cloud - Granular billing provider 9
What is next in Serverless? Types of logic FaaS Serverless Challenges 10
Further Separation of Business and Operational Logic • Function Composition • Serverless workflows Function C Types of logic Function D FaaS Function A Serverless Challenges Function B 11
Focus on Cost/Performance • Non-Functional Requirements (NFRs) priority: high $$$ security: max Types of logic scheduler FaaS Serverless priority: low $ security: public Challenges 12
Hybrid Clouds • Benchmark of FaaS platforms • Reliability • Latency: cold/hot starts • Throughput Types of logic • … FaaS Serverless Challenges 13
Roadmap • Extended vision • Reference Architecture • Benchmark 14
HotCloudPerf’18 • “Performance in the cloud datacenter” • April 9, 2018 in Berlin, Germany • https://hotcloudperf.spec.org/ • Held in conjunction with ICPE 2018 15
Interested? https://research.spec.org/working-groups/rg-cloud.html 🌑 @erwinvaneyk E.vanEyk@atlarge-research.com ✉ 16
Additional Slides 17
Ongoing work: reference architecture for FaaS platforms 18
Why Research Serverless and FaaS? • Growing industry-driven adoption. • Current approaches are still very immature and wasteful. • Far more logic delegation to the infrastructure (us!). • New technologies, same issues • orchestration, versioning, scheduling, testing, monitoring, benchmarking … 19
Recommend
More recommend