There will be some limit which right now is on the lower end but they are working on increasing it... which I assume the new backend has increased that a good amount given what I read from the blog
DO = global "actor" model, there will always be one unique actor per ID/name in the world, that actor has access to key-value state D1 = a "database", with tables/rows/columns etc.
That isn’t the right type for a D1 DB stub(let me check for it). Bindings usually can’t be logged to the console. And to check, have you added the D1 binding to the Cloudflare Dashboard? Pages doesn’t respect
I would still use DOs for 100+ rps just with cache in front. Pretty much the only case I would use KV atm is a session store instead of creating a DO and using cache for that
KV is fantastic and I would always recommend it for read-heavy operations. If you need global durability then of course DOs and things like that are gonna be better, but if you don't (like so many use-cases), KV's simplicity and pricing is incredible.
TL;DR, KV and DOs are two pretty different products, and thus neither is a one size fits all solution. Use your own judgements, and try to run the math yourself if you want
I noticed is that it is throwing CORS issue when I sent in fetch body, a text when database schema is expecting number like ' phone:"abc" ' instead of 'phone:123' , which should as per me should be database error, not cors error. Is it common ?