Hey team 👋 , I am having issues with
Hey team 👋 , I am having issues with DO
Error: Durable Object is overloaded. Requests queued for too long.
.The document says An individual Object has a soft limit of 1,000 requests per second.
is there a setting or configuration which can be set to increase this limit?1 Reply
IIRC I believe this means your DO is taking too long to process requests. The 1000 RPS means 1000 requests where you immediately
return new Response("OK")
(fwiw the last I checked we can handle more, but it's hard to define a limit when it's so dependent on your application code).
In other words, you send a request that hogs CPU for a while, and a bunch of requests queue up waiting to be delivered, but because DOs are single threaded, only 1 request can be processed at a time. Eventually some requests wait for too long and we say we failed to deliver the request.