Post

I know I'm sounding like a broken record, but @chatto.run is so fast! Here I am scrolling down the list of files uploaded into the room, all the way back to March 1. Click an upload and you will instantly be transported to the message that added the file. This is not pre-fetched local state!

0 reposts30 likes

And everything in a single 70 MB executable with zero external dependencies that you can totally self-host easily on modest hardware.

The images themselves in the video will already have mostly been cached by the browser (but the full virtualization of the message pane coupled with image lazy loading, highly optimized thumbnailing, and aggressive server-side caching do help significantly.)

The main magic trick that Chatto pulls off is that literally *every* data read op is performed either against a super-fast KV bucket or, for almost all data that is in the hot path, directly in the memory of the process that's handling your request.

I'm so excited for chatto. I really hope it will replace discord as the default chat app. Will 100% self host an instance once it becomes available