Tag

#fan-out-fan-in

6 posts

Resonate brand card on a dark background with a teal spectrum wave at the bottom and the post headline in white Sansation.
4 min readResonate HQJust published

Priority queue with bounded per-tier concurrency in TypeScript on Resonate

A nested loop over priority tiers becomes the scheduler when every yield* is a durable Resonate checkpoint.

Process a batch of jobs in strict priority-tier order with up to 2 jobs running concurrently per tier. Each job is a durable checkpoint, so a mid-batch crash only retries the failing job — completed higher-priority jobs are not re-run.

Resonate brand card on a dark background with a teal spectrum wave at the bottom and the post headline in white Sansation.
6 min readResonate HQJust published

Recursive deep-research agents across TypeScript, Python, Rust

How the same recursive fan-out / fan-in workflow runs across six deployment shapes in three languages.

A recursive LLM agent that decomposes a topic into subtopics and dispatches a fresh durable workflow per subtopic, with six sibling variants spanning plain Node, Cloudflare Workers, Google Cloud Functions, Supabase Edge Functions, Python, and Rust.