Why Local-First Software Is the Future and Its Limitations
rxdb.info
rxdb.info
Does anyone else see this as more harmful than beneficial? It would be one thing if expanded storage were a new permission that I had to explicitly grant to a site, maybe with the ability to set a budget per site. As is, now every random website that I visit can store an arbitrary amount of data on my hard drive and it's on me to stay on top of that by clearing out data regularly (but hopefully remembering not to clear data from the sites that I care about!).
I don't think we can live in a world where arbitrary sites can store whatever they want on your computer—leaving it up to you to clean up the mess periodically—and at the same time the primary copy of important data from important apps is stored in the same way. In a world where people have to regularly clean up the mess left by hundreds of other developers, even a "local first" web app has to treat the data as only safe once it lands on the developer's server, which means the primary copy is on the server, not the device. In a few cases maybe it would be beneficial to have a full copy offline (maybe your users regularly deal with unreliable connectivity), but most apps won't benefit enough to be worth the hassle.
There's no user data sovereignty here until browsers give users sovereignty over who gets to store data in the first place.
Some feedback for the amount used would also be nice (also depending on frequency of use)
ping dawn-night-7975.fly.dev
--- dawn-night-7975.fly.dev ping statistics ---
6 packets transmitted, 6 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 11.566/12.635/14.000/0.841 ms
so, 6ms each way from my house in the suburbs of Philadelphia, to the closest Fly region near NYC about 80 miles away. When measuring UI response latency, this is the number that matters. No, your database is not in the edge. But cached query results are!2) engineering is done with numbers. Which market of “everyone”? Half the world is enterprise workbench software, and when slack goes down all work stops. We aren’t trying to make customer support software work in the subway. What exact market are we targeting that does?
I want local first software to be the future. But even mobile apps, where much of this has been possible since day one, rarely work correctly offline. Unfortunately the user experience benefits vs the development complexities tradeoff mean that teams don’t do it unless they’re absolutely forced to.
If developers ran the ship from top to bottom you’d probably see more stuff like this in use. But product justifications are difficult to come by.
(notable that the article is written by someone at RxDB so they’re not exactly unbiased in their judgement)
Anyway, from the blog post:
> Calendar reminders will not show a notification.
This means that notifications are generated server-side and pushed to the device. I guess this is to...save battery? Wouldn't a background process work well enough, battery-wise?
Browsers having state like that beyond simple cookies seems like a not great plan to me
Mobile users are very complacent
It was Lotus Notes. Then IBM bought it and started ramping up pricing and walling it off.
I'm convinced that, had IBM gone the other direction and opened it up, they could have owned the Internet. Instead, Notes is just a forgotten footnote and IBM is... who are they again?