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!

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.)

0 reposts2 likes

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.