Serving Models Made Easy with Stateful Functions

Duration: 180 mins
David Anderson
Training Lead, Ververica

Stateful Functions is an open source framework that reduces the complexity of building and orchestrating distributed stateful applications at scale. It brings together the benefits of stream processing with Apache Flink and Function-as-a-Service (FaaS), providing a powerful abstraction for the next generation of event-driven architectures.

Stateful Functions applications are a collection of virtual stateful functions that can send arbitrary messages between each other and external systems. The execution can happen on a local JVM, or clusters of many machines. The framework is based on functions with persistent state that can share a pool of resources and interact arbitrarily with strong consistency guarantees. Stateful Functions uses a state-of-the-art runtime built on Apache Flink for distributed coordination, communication and state management.

This framework separates compute and storage differently than the classic two-tier architecture: with Stateful Functions we have an ephemeral state/compute tier, and a simple persistent blob storage tier. This approach eliminates the need to provision additional databases, key-value stores, or message brokers, and effectively offloads application state management from the shoulders of developers.

This workshop will cover the Stateful Functions runtime and the API in enough detail to prepare to you to be immediately productive with it.

During the hands-on sessions of this workshop, we will use Stateful Functions to develop a simple fraud detection service wrapped around a fraud detection model.

You may also be interested in

50 mins
Java in Containers - Part Deux

Containers are everywhere in modern cloud workloads, but that doesn’t mean everything's roses! Container isolation imposes a de-facto additional complexity...

180 mins
A Java Developer's Quest for Productivity

Most developers continue doing their job as they always have. However, once in a while it makes sense to look...

50 mins
Uncovering Project Amber - Changes to the Java Language in v10 and Beyond

Evolution has always been in the Java DNA, and according to Darwin, "It is neither the strongest nor the most...

50 mins
A New and Open Way to Build Cloud-Native Microservices - MicroProfile

Ever wondered what makes a cloud-native application "cloud-native"? Ever wondered what the unique challenges are and how best to address...

25 mins
An Experiment in Continuous Deployment of JVM applications

A couple of years ago, continuous integration in the JVM ecosystem meant Jenkins. Since that time, a lot of other...

50 mins
What a Character

We will cover the concepts of representing scripts from different languages, and an introduction to Unicode. We will delve into...