
Cloudflare D1 is highly unreliable
Our entire platform is on Cloudflare stack (Workers, D1, R2, KV, Queues). Few thousands visit our website every day. Even though we are small, we have many business critical flows (like lead capture, payments, etc.) that requires reliable backend and database.
We only had one engineer and we needed something quick / simple so we modeled our data based on D1 (big mistake).
We have been facing significant D1 reliability issues. It keep stalling for 30+ seconds multiple times a day. It keeps showing D1_ERROR: D1 DB storage operation exceeded timeout which caused object to be reset.
Cloudflare engineering support says it is their fault but this "falls within the range of events that can affect D1 databases".
Anyone else facing these issues with D1? We hardly have 50 MB of data, queries are extremely simple and optimized. We already have retry loop but 30+ second of stall is a deal breaker. A quick search reveals that it is a very common problem. We should have done some research on this -- were blindfolded by Cloudflare's reputation.
How do you justify 30+ seconds stalls multiple times a day?