News for hackers. Stuff that matters.
Re:Slack is down by Arathorn on Monday January 04, 2021 @04:05PM (#25638019)
Rather than storing state from the server in the JS heap, new state gets stored immediately in indexeddb transactionally and is pulled out strictly on demand. So, my account (which is admittedly large, with around 3000 rooms and 350K users visible) uses 1.4GB of JS heap on Element/Web, and 14MB on Hydrogen. It's also lightning fast, as you might expect given it's not having to wade around shuffling gigabytes of javascript heap around the place.
Re:Slack is down by __sisyphus__ on Monday January 04, 2021 @09:55PM (#25641493)
I've wanted to try something like this (on a smaller scale), but haven't had time. It's good to hear of an implementation that reflects my expectations. How long did it take you to migrate over?
Re:Slack is down by Arathorn on Tuesday January 05, 2021 @04:28AM (#25643733)
it’s a entirely new codebase; probably best way to visualise progress is to look at the contributor graphs at https://github.com/vector-im/hydrogen-web
Re:Slack is down by __sisyphus__ on Tuesday January 05, 2021 @12:20PM (#25647877)
Cool, thanks for sharing!