VOOZH about

URL: https://thenewstack.io/lightbends-cloudstate-builds-on-akka-to-offer-stateful-serverless/

⇱ Lightbend's Cloudstate Builds on Akka to Offer Stateful Serverless - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2020-10-02 13:51:51
Lightbend's Cloudstate Builds on Akka to Offer Stateful Serverless
podcast,the-new-stack-context,
Cloud Native Ecosystem / Serverless

Lightbend’s Cloudstate Builds on Akka to Offer Stateful Serverless

Akka creator & Lightbend CTO Jonas Bonér talks about challenges of bringing state to serverless, reactive microservices frameworks and Cloudstate itself.
Oct 2nd, 2020 1:51pm by Joab Jackson
👁 Featued image for: Lightbend’s Cloudstate Builds on Akka to Offer Stateful Serverless

Serverless computing is getting a hand from an unlikely source: The Java community. Or more specifically, from the Akka distributed messaging toolkit.

In many ways, serverless has grown beyond its initial use case of running small batch jobs. The industry has found that in many workloads, such as Web sessions, some sort of state must be maintained, even if only temporarily. To this end, reactive microservices framework provider Lightbend has devised an architecture, called Cloudstate to bring distributed stateful data retention to function-as-a-serverless (FaaS) and other serverless tasks. It is built on Akka clusters, which offers distributed resilient messaging through peer-to-peer communications with agents/sidecars attached to each function.

In this episode of The New Stack Context podcast, we speak with Jonas Bonér, Akka creator and founder/chief technology officer of Lightbend, about the challenges of bringing state to serverless, reactive microservices frameworks, and Cloudstate itself. TNS editorial and marketing director Libby Clark hosts this episode, with the help of  TNS managing editor Joab Jackson.


Episode 136: Lightbend’s Cloudstate Builds on Akka to Offer Stateful Serverless

Listen to all TNS podcasts on Simplecast.

Roughly speaking, “State” is all the operational data you need to get an application, or application setting, to keep it running until completion. The traditional model for keeping state often involves a database, which is a weak answer for today’s workloads for two reasons: Communications with a backend database is way too slow, and relational databases can’t be easily used to track versioning, or how data gets updated.

The Cloudstate approach is to keep the data and the compute on the same node. It does this through sidecars, which are attached to each function. The sidecars are all part of a distributed cluster, managed by the Akka framework. For the developer, Cloudstate acts as a service (and should be run as a service on a Kubernetes cluster, Bonér advises): Its state-in/state-out. Akka is based on Java, but suffers none of the cold start lag time, thanks to the use of GraalVM, which precompiles code into a binary.

After our conversation with Bonér, we then delve into some of the other notable TNS posts and podcasts of the week, including VMware’s acquisition of SaltStack and a new feature in Microsoft that allows users to Stop and Start Kubernetes Clusters Like Pausing a Video.

This edition marks the final episode of The New Stack Context podcast. On Oct. 12, TNS is launching a new podcast series called “Scaling New Heights,” on The New Stack Makers. Our guest host Christine Heckart, CEO of Scalyr, talks with engineering managers at the rapid-growth companies that make modern life possible. Hear from engineering leadership at companies like Robinhood, Airbnb and Nextdoor about the technical — and human — challenges their teams face at scale and how they survived the “Valley of despair.” Subscribe to The New Stack Makers on Itunes, SoundCloud and Spotify or wherever you listen to your favorite podcasts from The New Stack.

Lightbend is a sponsor of The New Stack.  

TRENDING STORIES
Joab Jackson is a senior editor for The New Stack, covering cloud native computing and system operations. He has reported on IT infrastructure and development for over 30 years, including stints at IDG and Government Computer News. Before that, he...
Read more from Joab Jackson
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.