TNS
VOXPOP
Will JavaScript type annotations kill TypeScript?
The creators of Svelte and Turbo 8 both dropped TS recently saying that "it's not worth it".
Yes: If JavaScript gets type annotations then there's no reason for TypeScript to exist.
0%
No: TypeScript remains the best language for structuring large enterprise applications.
0%
TBD: The existing user base and its corpensource owner means that TypeScript isn’t likely to reach EOL without a putting up a fight.
0%
I hope they both die. I mean, if you really need strong types in the browser then you could leverage WASM and use a real programming language.
0%
I don’t know and I don’t care.
0%
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
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

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.  

Group Created with Sketch.
TNS owner Insight Partners is an investor in: The New Stack, Nextdoor.
THE NEW STACK UPDATE A newsletter digest of the week’s most important stories & analyses.