You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Durable RPC, Idempotency and Concurrency |[code](src/durablerpc/express_app.ts)|[README](README.md#durable-rpc-idempotency-and-concurrency)| Use the programmatic clients to call Restate handlers. Add idempotency keys for deduplication. |
10
-
| (Delayed) Message Queue |[code](src/queue/task_submitter.ts)|[README](README.md#delayed-message-queue)| Use Restate as a queue. Send a (delayed) event to a handler. Optionally, retrieve the response later. |
11
-
| Sagas |[code](src/sagas/booking_workflow.ts)|[README](README.md#sagas)| Preserve consistency by tracking undo actions and running them when code fails halfway through. Restate guarantees completion. |
12
-
| Webhook Event Processing |[code](src/webhookcallbacks/webhook_callback_router.ts)|[README](#durable-webhook-event-processing)| Point webhook callbacks to a Restate handler for durable event processing. |
13
-
| Scheduling Tasks |[code](src/schedulingtasks/payment_reminders.ts)|[README](#scheduling-tasks-and-durable-webhooks)| Use Restate as scheduler. Schedule tasks for later and ensure the task is triggered and executed. |
14
-
| Stateful Actors and State Machines |[code](src/statefulactors/machine_operator.ts)|[README](README.md#stateful-actors-and-durable-state-machines)| Stateful Actor representing a machine in our factory. The handlers bring the machine up and down and track the state transitions, built as a Restate Virtual Object for automatic state persistence. |
15
-
| Event processing: Transactional handlers |[code](src/eventtransactions/user_feed.ts)|[README](README.md#event-processing-transactional-handlers-with-durable-side-effects-and-timers)| Processing events (from Kafka) to update various downstream systems in a transactional way. With durable side effects and timers. |
16
-
| Event processing: Enriching streams |[code](src/eventenrichment/package_tracker.ts)|[README](README.md#event-processing-event-enrichment)| Stateful functions/actors connected to Kafka and callable over RPC. |
17
-
7
+
| Use case / Pattern | Code | README | Description |
| Durable RPC, Idempotency & Concurrency |[code](src/durablerpc/express_app.ts)|[README](README.md#durable-rpc-idempotency-and-concurrency)| Use programmatic clients to call Restate handlers. Add idempotency keys for deduplication. |
10
+
| (Delayed) Message Queue |[code](src/queue/task_submitter.ts)|[README](README.md#delayed-message-queue)| Restate as a queue: Send (delayed) events to handlers. Optionally, retrieve the response later. |
11
+
| Sagas |[code](src/sagas/booking_workflow.ts)|[README](README.md#sagas)| Preserve consistency by tracking undo actions and running them when code fails halfway through. |
12
+
| Webhook Callbacks |[code](src/webhookcallbacks/webhook_callback_router.ts)|[README](#durable-webhook-event-processing)| Point webhook callbacks to a Restate handler for durable event processing. |
13
+
| Scheduling Tasks |[code](src/schedulingtasks/payment_reminders.ts)|[README](#scheduling-tasks-and-durable-webhooks)| Restate as scheduler: Schedule tasks for later and ensure the task is triggered and executed. |
14
+
| Stateful Actors and State Machines |[code](src/statefulactors/machine_operator.ts)|[README](README.md#stateful-actors-and-durable-state-machines)| Stateful Actor representing a machine in our factory. Track state transitions with automatic state persistence. |
15
+
| Transactional Event Processing |[code](src/eventtransactions/user_feed.ts)|[README](README.md#event-processing-transactional-handlers-with-durable-side-effects-and-timers)| Process events from Kafka to update various downstream systems in a transactional way. |
16
+
| Event enrichment / Joins |[code](src/eventenrichment/package_tracker.ts)|[README](README.md#event-processing-event-enrichment)| Stateful functions/actors connected to Kafka and callable over RPC. |
0 commit comments