Get the latest tech news

When imperfect systems are good: Bluesky's lossy timelines


By examining the limits of reasonable user behavior and embracing imperfection for users who go beyond it, we can continue to provide service that meets the expectations of users without sacrificing scalability of the system.

I recently made some major tradeoffs in the design of Bluesky’s Following Feed/Timeline to improve the performance of writes at the cost of consistency in a way that doesn’t negatively affect users but reduced P99s by over 96%. When a user loads their Timeline, we fetch a page of post references and then hydrate the posts/actors concurrently to quickly build an API response and let them see the latest content from people they follow. Generally, this can be dealt with via policy and moderation to prevent abusive users from causing outsized load on systems, but these processes take time and can be imperfect.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Bluesky

Bluesky

Photo of lossy timelines

lossy timelines

Photo of imperfect systems

imperfect systems

Related news:

News photo

Bluesky adds a ‘followers only’ reply option

News photo

Gazeta Wyborcza, Poland's largest newspaper quits X, now on Bluesky

News photo

Bluesky gets growth and analytics tools with BlueSkyHunter launch