|
|
|
|
|
by NilMostChill
384 days ago
|
|
That's....certainly a take. it hurts that it's not exactly wrong. but i don't think it's 100% right either, there are some things that you just can't do reliably, in current db engines at least. As soon as you start baking this kind of support in to the db all you have if a db engine that has all the other bits stuffed in it. They'll still have most of the issues you describe, it'll just be all in the "db layer" of the engine. |
|
Something like Java's Akka or .NET Orleans combined with React.
So the "data" would be persisted by stateful Actors, which can run either on the server or in the browser, using the exact same code. Actors running in the browser can persist to localStorage and on the server the actors can persist to blob storage or whatever.
Actors have unique addresses that can be used to activate them. In this system these become standard HTTP URIs so that there is a uniform calling convention.