DataStore Requests Delayed for 10, 20, 30+ Seconds on Server Startup

I am experiencing significant delays in DataStore requests during the first 40 seconds of server startup. In my analytics, I have observed that while most DataStore requests typically complete in around 0.2 seconds, all requests that take longer than 10 seconds occur exclusively within this initial server startup period. Some requests are delayed by as much as 30+ seconds.

Expected behavior

I expect DataStore request times to remain consistent regardless of how long the server has been running.

1 Like

Hi,

Does it happen to all requests or only read or write requests? It is possible that the quota is exceeded and the requests get queued. Can you check the return value of GetRequestBudgetForRequestType at start up?

Here are some examples:


You can see the budgets= in the logs that is the value you asked for.

I should have clarified, these requests are UpdateAsync. I haven’t tested with other request types.