restatedev / examples
Restate examples
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing restatedev/examples in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewRestate examples A collection of examples that illustrate how to use Restate to solve common application challenges. • **Basics:** Small examples highlighting the basic building blocks, like durable execution or virtual objects. • **Use Cases and Patterns:** Small specific use cases, like webhooks, workflows, asynchronous task queuing. • **Integrations:** Examples of integrating Restate with other popular tools, technologies, and libraries. • **End-to-End Applications:** Runnable demo applications that consist of many components, e.g., a food ordering app, or an e-commerce site. Typically packaged as a docker compose setup. • **Templates:** Project templates for various languages, build systems and runtimes. Simple 'Hello World!' examples in a proper build setup that you can use if you want to start a brand new project for a service or lambda that will be invoked through Restate. • **Tutorials:** A step-by-step guide that builds an application and introduces the Restate concepts on the way. Example catalogs Have a look at the example catalog for your preferred SDK language: Or have a look at the general catalog below: Basics | Example Name | Languages | |-------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Services - Durable Execution | | | Durable Building Blocks | | | Virtual Objects | | | Workflows | | Use Cases and Patterns | Example Name | Languages | |---------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Durable RPC, Idempotency & Concurrency | | | \(Delayed\) Message Queue | | | Webhook Callbacks | | | Sagas | | | Cron Jobs | | | Database Interaction Patterns | | | Convert Sync Tasks to Async | | | Batching | | | Payments Signals \(Advanced\) | | | Stateful Actors and State Machines | | | Payment State Machines \(Advanced\) | | | Scheduling Tasks | | | | Concurrent async tasks | | | Parallelizing Work | [<img src="https://skillicons.dev/icons? _...truncated for preview_