Re:Progressive JSON
by KronisLV on Saturday May 31, 2025 @09:36PM
(#44148078)
I feel like in an ideal world, this would start in the DB: your query referencing objects and in what order to return them (so not just a bunch of wide rows, nor multiple separate queries) and as the data arrives, the back end could then pass it on to the client.
[ Parent
| on HN ]
Many db has done that, 4d.com is one that comes to mind. It is kinda like socket.io + PostgreSQL + node/ruby/php (middleware layer) all in one. In db there is also concept of cursor, etc.
Seems like it is never about merit of technological design. As some CS professor put it, tech is more about fashion than tech now days. IMHO that is true, and often also comes down to the technological context surrounding the industry at the time, and now days if the code is open sourced/FOSS.
Re:Progressive JSON
by pigbearpig on Saturday May 31, 2025 @10:30PM
(#44148282)
That’s not going to make the front page of HN though.