Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So much this. Thankfully it hasn't lost tabs for me for a very long time, but I find it ridiculous that Firefox's session persistence is basically "yeah let's deserialize it into a single line of JSON and write it to disk every 15 seconds".

On top of that, what was their solution when it became apparent it was slowly killing your SSD by blowing up write amplification through the roof [1]? Zipping the JSON. Yeah. Seriously.

I mean sure, this storage format might've been a nice first implementation as a PoC, but you'd think they'd redo this at some point and store the session in an Sqlite DB file or something, I mean it's not like they haven't been using it already for history and bookmarks.

1. https://www.servethehome.com/firefox-is-eating-your-ssd-here...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: