Hong Kong HKOUG Meetup: Serverless Architectures and Fn Project

Hong Kong HKOUG Meetup: Serverless Architectures and Fn Project

Serverless Architectures, Fn Project, AWS Lambda

643cd45dcfa73b072018046e39ed36d1?s=128

Frank Munz

May 06, 2018
Tweet

Transcript

  1. 2.

    • Founded munz & more in 2007 • > 15

    years Middleware, Multi Cloud, and Distributed Computing • Consulting and High-End Training • Wrote two WebLogic and a Cloud book Dr. Frank Munz @frankmunz
  2. 4.
  3. 7.

    Pay Per Use • ~1 US cent/h (micro instance), with

    HA & geo-distribution included • You own a massively parallel, distributed and highly available supercomputer with linear costs: 1 instance for 100 hours $= 100 instances for 1h @frankmunz
  4. 10.
  5. 11.

    FaaS • AWS announced Lambda in 2014 • Lambda is

    Function as a Service (FaaS) • Serverless: Abstract away all notion of infrastructure – Automated elasticity – True pay per invocation • Other serverless examples: Messaging, DBs, blob storage -> Future of cloud @frankmunz
  6. 12.

    AWS Lambda AWS SAM Local: test and locally run Lambda

    event: event passed to function context: runtime context callback: optional return (or null) @frankmunz
  7. 15.

    Cost Savings: Case Studies Expedia(2016): – 2.3 billions calls –

    200k hours / month – $ 550 a month Postlight – API GW, Lambda, Serverless – Costs dropped 2 orders of magnitude down to $ 370 https://www.youtube.com/watch?v=gT9x9LnU_rE https://trackchanges.postlight.com/serving-39-million-requests-for-370-month-or-how-we-reduced-our-hosting-costs-by-two-orders-of-edc30a9a88cd http://serverlesscalc.com/ @frankmunz
  8. 19.

    FaaS OS Frameworks Overlap in functionality -> expect consolidation Who

    will survive? • Integration: K8s, Traefik, Zipkin, Prometheus, Kafka etc. • Adoption, adoption, adoption • FaaS as PaaS implementation? https://github.com/faas-lane/ FaaS-Lane/tree/master/candidates @frankmunz
  9. 20.

    Fn Project • Apache 2, Open Source since Java One

    2017 • Fn Server (micro API GW), LB, Flow • Function / Container duality • Docker is only dependency -> polyglot • Helm chart for Kubernetes @frankmunz
  10. 21.

    KubeCon • Brand new as of May 2nd, 2018 •

    Fn is adding support for Cloud Events • You can deploy Fn functions with Serverless.com framework @frankmunz
  11. 23.
  12. 24.
  13. 28.

    TL;DR #serverless & #FaaS all major clouds / PaaS ⊇

    Serverless ⊇ FaaS / FaaS = stateless / true pay per use / automated scalability / event driven / integrates with other CS / architect against vendor lock in / cloud agnostic FaaS frameworks / FaaS frameworks consolidation ahead / Fn is growing + tightly integrated into CNCF @frankmunz
  14. 29.
  15. 32.