Software architecture for distributed and agentic systems: the trade-offs behind event-driven design, cluster sharding and durable workflows, from an architect with 20 years in production.
Part 2 of rebuilding Effect TS Cluster's DadBot with Pekko Cluster: Dad waits for the chat to go quiet, the cluster grows to three nodes, and two very different answers to the question of who decides where a Dad lives.
Part 1 of rebuilding Effect TS Cluster's DadBot with Pekko Cluster Sharding: why the naive webhook handler repeats jokes, and what changes when every chat gets its own sharded entity.