Apache Flink Stateful Functions

Stateful Functions: A Platform-Independent Stateful Serverless Stack

A simple way to create efficient, scalable, and consistent applications on modern infrastructure - at small and large scale.

Stateful Functions is an API that simplifies the building of distributed stateful applications with a runtime built for serverless architectures. It brings together the benefits of stateful stream processing - the processing of large datasets with low latency and bounded resource constraints - along with a runtime for modeling stateful entities that supports location transparency, concurrency, scaling, and resiliency.

Stateful Functions

It is designed to work with modern architectures, like cloud-native deployments and popular event-driven FaaS platforms like AWS Lambda and KNative, and to provide out-of-the-box consistent state and messaging while preserving the serverless experience and elasticity of these platforms.

Try StateFun

If you’re interested in playing around with Stateful Functions, check out our code playground. It provides a step by step introduction to the APIs and guides you through real applications.

Get Help with StateFun

If you get stuck, check out our community support resources. In particular, Apache Flink’s user mailing list is consistently ranked as one of the most active of any Apache project, and is a great way to get help quickly.

Explore StateFun

The reference documentation covers all the details. Some starting points:

Deploy StateFun

Before putting your Stateful Functions application into production, read the deployment overview for details on how to successfully run and manage your system.

Stateful Functions is developed under the umbrella of Apache Flink