5 use-case oriented example apps to get you started on your next project.
Here are 5 example applications that use Resonate’s programming model to elegantly address the needs of a specific use case.
A lot of amazing things are made from someone else’s example and we hope you will make amazing things from these ones. Set within the context of specific use cases, Resonate’s programming model is put to the test in minimalistic example applications.
Load balanced worker fleet
Available in Python, TypeScript.
Have you ever needed to balance load across a fleet of Workers? Resonate lets you run as many workers as you need. Create distinct worker groups and route to them within a simple API.
Try the load balancing example!
Kafka batch processing worker
Available in Python.
Have you ever needed a worker for a Kafka Topic and had to solve for head-of-line-blocking, retries, and recovery? Resonate can help with that. A real treat is using Redpanda as a drop-in replacement for Kafka, making it easy to observe the data movement.
Waiting on a Human-In-The-Loop
Available in Python, TypeScript.
How often have you tried to pause a multi-step workflow to wait for someone to click a link in an email? See how to solve for this with Resonate, suspending a function execution for an indefinite amount of time.
Try the Human-In-The-Loop example!
Website Summarization Agent
Available in Python.
Want a little taste of everything? This example, while remaining surprising minimal packs in a workflow decked out with two failure prone steps, a human-in-the-loop, a non-retriable error, and result caching by ID. Thanks to Resonate’s programming model, what would normally take a lot of custom code to handle, these important distributed systems issues are boiled down to simple API calls.
Try the website summarization agent example!
Indefinite Durable Sleep
Available in Python, TypeScript.
Tired of using cron jobs to awaken long sleeping / long running business processes? Check out this one line of code that puts your workflow function to sleep for days, weeks, or years while surviving the lifetime of the processes in which it executes!
Try the durable sleep example!
Find more examples like these in the resonatehq-examples Github Org.