AWS Architecture Blog

Siddhesh Tiwari

Author: Siddhesh Tiwari

Siddhesh Tiwari is a Data Scientist at AWS Professional Services. He works with enterprise customers to design and deliver generative AI, agentic AI, and machine learning solutions on AWS. He specializes in large scale ML modeling and AI application development.

Building resilient real-time streaming workers with Amazon DynamoDB leases

Building resilient real-time streaming workers with Amazon DynamoDB leases

Real-time streaming workers that hold hundreds of persistent WebSocket connections lose data when a worker fails. Learn how to build a WebSocket fleet management system on Amazon ECS and AWS Fargate that uses Amazon DynamoDB conditional writes as a distributed lease to track ownership, fail over automatically, and deploy with low downtime.