Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

The future of cloud programming

168 views

Published on

In this talk we will cover:
1. Using concurrency to maximize hardware (Elixir, Clojure, Haskell)
2. Serverless technologies for backend architecture (Amazon AWS Lambda, Microsoft Azure Cloud Functions)
3. BaaS – Backend as a Service (Google Firebase, etc)

Published in: Technology
  • Be the first to comment

  • Be the first to like this

The future of cloud programming

  1. 1. The Future of Cloud Programming Is Serverless and Concurrent
  2. 2. What’s this all about? Concurrent Programming Erlang, Java Go, Elixir, Scala Serverless Architecture AWS Lambda Azure Cloud Functions Backend as a Service (Baas) Google Firebase
  3. 3. Concurrency Doing a lot of things at once
  4. 4. The Basics ● Utilize multi-core systems ● Scale across multiple servers ● Low latency
  5. 5. Complications ● Hard to develop ● Hard to debug ● Different mindset ● Fewer developers
  6. 6. Benefits of Functional Programming ● Super Fast ● Fewer Bugs ● Easy to Test ● Concurrent by Default
  7. 7. 2 Million Websocket Connections On a SINGLE SERVER
  8. 8. The Future ● Better Languages ○ Elixir ○ Clojure ○ Scala ○ Go ● Strong VMs ○ JVM ○ Erlang VM ● More prolific
  9. 9. Serverless Functions as a Service (FaaS)
  10. 10. How it Works ● No Servers * ● Host provides resources ● Resources are on demand ● Function is executed
  11. 11. Advantages ● Scalability ● Cost ● Programming Model ● Deployment Process ● Reliability ● Throughput
  12. 12. MLB Statcast 30 JSON docs / second / game ~1k - 50k / JSON
  13. 13. Disadvantages ● Limited resources ● Short execution time ● Hard to debug ● Slow when unused ● Hard to monitor ● Hard to replicate
  14. 14. Serverless Providers
  15. 15. Serverless Frameworks
  16. 16. BaaS “Backend as a Service” - or - “How to stop worrying and love the cloud”
  17. 17. How it Works MAGIC!
  18. 18. Google someone hosts and maintains a centralized database How it Works
  19. 19. Advantages ● Centralized DB ● Near Real Time ● Updated by Multiple Users ● Cross Platform API ● Hosting Included (required)
  20. 20. Disadvantages ● Centralized DB ● Hosting Included (required) ● May be overkill ● Expensive at scale ● Not SQL (JSON)
  21. 21. Alternatives to Firebase
  22. 22. Review Concurrency ● Functional Programming ● Low Latency ● High Scale ● Maximize Resources Serverless ● High Throughput ● Low Cost ● High Scale ● Frequent small tasks BaaS ● Rapid Development ● Prototyping ● Near Real Time ● Central DB ● Frequent Updates
  23. 23. Jason Straughan @JDStraughan Grok Interactive @GrokInteractive www.GrokSA.com

×