Easily build workflows, event-driven applications, and distributed services in a fault-tolerant manner with durable async/await.
Restate is great at building:
- 🏎 Check out our quickstart to get up and running with Restate in 2 minutes!
- 💡 The tour of Restate walks you through all features of Restate.
Restate supports the following SDKs:
We offer pre-built binaries of the CLI and the server for MacOS and Linux.
Install via Homebrew:
brew install restatedev/tap/restate-server
Run via npx:
npx @restatedev/restate-server
Run via docker:
docker run --rm -it --network=host docker.io/restatedev/restate:latest
Install via Homebrew:
brew install restatedev/tap/restate
Install via npm:
npm install --global @restatedev/restate
Run via npx:
npx @restatedev/restate
You can also download the binaries from the release page or our download page.
- 🤗️ Join our online community for help, sharing feedback and talking to the community.
- 📖 Check out our documentation to get quickly started!
- 📣 Follow us on Twitter for staying up to date.
- 🙋 Create a GitHub issue for requesting a new feature or reporting a problem.
- 🏠 Visit our GitHub org for exploring other repositories.
The basic primitives Restate offers to simplify application development are the following:
- Reliable Execution: user code will always run to completion. Intermediate failures result in re-tries that use the durable execution mechanism to recover partial progress and not duplicate already executed steps.
- Suspending User Code: long-running user code suspends when awaiting on a promise and resume when that promise is resolved.
- Reliable Communication: user code communicates with exactly-once semantics. Restate reliably delivers messages and anchors both sender and receiver in the durable execution to ensure no losses or duplicates can happen.
- Durable Timers: user code can sleep (and suspend) or schedule calls for later.
- Isolation: user code can be keyed, which makes Restate scheduled them to obey single-writer-per-key semantics.
- Consistent State: keyed user code can attach key/value state, which is eagerly pushed into handlers during invocation, and written back upon completion. This is particularly efficient for FaaS deployments (stateful serverless, yay!).
- Observability & Introspection: Restate automatically generates Open Telemetry traces for the interactions between handlers and gives you a SQL shell to query the distributed state of the application.
We’re excited if you join the Restate community and start contributing! Whether it is feature requests, bug reports, ideas & feedback or PRs, we appreciate any and all contributions. We know that your time is precious and, therefore, deeply value any effort to contribute!
Check out our development guidelines and tips for local development to get started.
In order to build Restate locally follow the build instructions.