Skip to main content

Recipes

cron

Cron Jobs

Schedule tasks periodically with Restate
durable-webhooks

Durable Webhooks

Process webhook events from external services with exactly-once delivery guarantees.
parallelizing-work

Parallelizing Work

Execute a list of tasks in parallel and then gather their result.
rate-limiting

Rate Limiting

Control request rates and prevent service overload with Restate
sagas

Sagas

Implementing undo operations in case of failures, to keep your system consistent

Development Guides

databases

Databases and Restate

Learn when and how to use databases in combination with Restate.
error-handling

Error Handling

Learn how to handle transient and terminal errors in your applications.
request-lifecycle

Request Lifecycle

Deep dive into the lifecycle of a request in Restate

Deployment Guides

connecting-k8s-services-to-cloud

Connecting Kubernetes Services to Restate Cloud

Learn how to connect services on Kubernetes to Restate Cloud.
restate-on-kind-with-helm

Kubernetes deployments with Helm

Learn how to deploy a Restate cluster using Helm on a kind Kubernetes cluster.
restate-on-kind-with-operator

Kubernetes deployments with Restate Operator

Learn how to deploy single-node Restate with Restate operator on a kind Kubernetes cluster.
cluster

Local Restate Cluster with Docker

Learn how to deploy a Restate cluster using Docker Compose.
local-to-replicated

Scaling to Multi-Node Deployments

Migrate a single node to a multi-node cluster.

Integrations

encore

Restate and Encore

Learn how to run Restate service handlers inside an Encore TypeScript backend.
kafka-quickstart

Restate-Kafka Quickstart

Learn how to connect your Restate service to a Kafka topic.
xstate

XState

Integrate Restate with XState to implement durable state machines.