Cloudflare

Making Super Slurper 5x faster with Workers, Durable Objects, and Queues

Apr 10, 2025Connor Maddox, Siddhant Sinha, Prasanna Sai Puvvada
Making Super Slurper 5x faster with Workers, Durable Objects, and Queues
SummaryAI, from the source post

Rearchitected Super Slurper using Cloudflare Workers, Durable Objects, and Queues to improve data transfer speeds by up to 5x. Addressed performance bottlenecks in the original Kubernetes-based architecture by leveraging edge compute for object copying, distributed queues for concurrency, and Durable Objects (with SQLite) for state management and sharding. Implemented robust failure handling with retries and a Dead Letter Queue. Utilized Hyperdrive for accessing legacy PostgreSQL data. Introduced sequence IDs for listing operations and object key locking in the database to handle duplicate messages and ensure single transfers.

More from the Data Infrastructure & Analytics trail