As developers, we all want to be more productive. Serverless helps you do just that, by letting you focus on the business logic while shifting operations somewhere else. As more companies discover this emerging technology, we also discover drawbacks like state management. In this session, we’ll focus on what serverless is, how it helps developers, what potential drawbacks exist, and how we can add state management into serverless.
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Thinking Stateful Serverless
1. Thinking Stateful Serverless
Bringing the power of Akka to Serverless
Leon Stigter
Sr. Product Manager Serverless
micro.sphere.it #5 Cloud-native
#sphereIT | @retgits
11. We want to deliver value faster to…
Go from seeing data
to taking action
#sphereIT | @retgits
12. We want to deliver value faster to…
Go from seeing data
to taking action
Get to market faster
than ever before
#sphereIT | @retgits
13. We want to deliver value faster to…
Go from seeing data
to taking action
Get to market faster
than ever before
Empower more
people to build apps
#sphereIT | @retgits
14. To get there, we need to build apps differently…
Enterprise Service Bus
App App App
#sphereIT | @retgits
15. To get there, we need to build apps differently…
Enterprise Service Bus
App App App
Micro Service
Event
API
Micro Service
Event
API
Micro Service
Event
API
Function
Event
API
#sphereIT | @retgits
16. Your storyteller for today…
Leon Stigter, Sr. Product Manager Serverless
@retgits
• Product Manager, turned Developer
Advocate, turned Product Manager
again…
• Passionate about Serverless, Containers,
and all things App Dev
• I love dadjokes, cheesecake, and Go
18. Serverless architectures enable developers to focus on what they should
be doing — writing code and optimizing application design — making
way for business agility.”
— The CIOs Guide to Serverless Computing
Gartner
“
#sphereIT | @retgits
27. Limits in execution time
Connection management
Coordinating changes in data
#sphereIT | @retgits
28. Limits in execution time
Connection management
Coordinating changes in data
Function still rely on state
#sphereIT | @retgits
29. Is state important?
30%
Source: IDC Global DataSphere 2020
The percentage of data that has
to be acted upon in real-time
#sphereIT | @retgits
30. We want to bring the power of Akka
to every developer
in whichever language they choose
#sphereIT | @retgits
31. Cloudstate and Akka Serverless
Reactive frameworks and runtimes for building
cloud-native applications.
Quickly build, test and deploy
reactive microservices
Build and operate
streaming data pipelines
Self-Managed. Deploy on-premise or in the Cloud. Lightbend Hosted.
Stateful serverless. A new class
of business applications.
The Power of Akka for
every developer in their
language of choice
Lightbend Open Source
#sphereIT | @retgits
32. What Happens When... A Service Scales?
The container
you built
A Cloudstate
proxy
Every Cloudstate proxy is an Akka node…
Proxy Code
Proxy Code
Proxy Code
All nodes (proxies)
automatically form
an Akka cluster
#sphereIT | @retgits
33. How do you build an app?
3
1
2
API description
Business logic
State model
#sphereIT | @retgits
34. How Do You Build an App?
Start your service with an API
description (Protocol Buffers) to:
• Works across languages
• Avoid long drawn-out projects
#sphereIT | @retgits
35. How Do You Build an App?
The state model you choose for
your events
• Choose the best option for your
use case
• Replicated or Event Sourced
#sphereIT | @retgits
36. How Do You Build an App?
Implement your business logic
• Tie gRPC services to functions
• Use the language that you want
#sphereIT | @retgits