2025 was a big year for Bluesky decentralization. You might have heard of several independent Bluesky alternatives, like Blacksky, Northsky, and Eurosky. You might also have heard that these are nontrivial efforts, requiring significant development work and expensive computing re…
1
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
1
plaintext
What makes Bluesky expensive?
2
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
Well it's not the user data itself, I can tell you that much. User accounts in ATproto are each associated with a Personal Data Server (PDS), which is little more than a JSON-returning webserver wrapped around a SQLite database. A single PDS on a raspberry pi can host and serve d…
3
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
If you're only vaguely familiar with ATproto, you might have heard about "relay servers" and the "global firehose" - big servers that vacuum up all writes to every PDS and serve them in a single massive stream. Is this where the cost comes from?
4
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
35
byteStart
31
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
Nope. A full-network relay can also run just fine on a raspberry pi. It needs a somewhat beefy storage drive (a dozen or two terabytes), but that's entirely within reach of a hobbyist. I've got plenty of friends with Plex servers whose storage requirements dwarf that.
5
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
Alright, what about the client web app? Is it just the costs of serving all the read traffic to all those users?
Again, not really. As proof, check out Red Dwarf. It's a Bluesky client that works entirely client-side, with no AppView server of its own. It achieves this by 1) talking to PDS instances directly, 2) querying the Constellation microservice for links between records, and 3) using…
7
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
This is how a lot of ATproto infrastructure works. It's radically different from ActivityPub and Mastodon, which splits up the system into lots of federated instances, with each instance having more or less a complete vertical slice through the infrastructure with its own user da…
8
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
19
byteStart
10
features
0
$type
pub.leaflet.richtext.facet#italic
1
index
byteEnd
92
byteStart
67
features
0
uri
https://opencollective.com/blacksky
$type
pub.leaflet.richtext.facet#link
plaintext
Okay, but something must be expensive here. Blacksky isn't seeking tens thousands of dollars for the hell of it. Where is the cost coming from?
Red Dwarf actually gives us a bit of a clue here. If you try using the app for a while, you might notice something missing: the Following feed. Custom feeds work fine, but the Following feed specifically won't load. The documentation for Red Dwarf explicitly points this out as a …
The Following feed is expensive. So expensive, in fact, that according to @why.bsky.team it accounts for half of Bluesky's entire production workload, as of October 2025.
12
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
7
byteStart
4
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
But why is it expensive?
13
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
Well, for starters, there isn't just one Following feed. There's forty million of them. Every user's Following feed is unique.
14
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
186
byteStart
180
features
0
$type
pub.leaflet.richtext.facet#italic
1
index
byteEnd
331
byteStart
300
features
0
uri
https://jazco.dev/2025/02/19/imperfection/
$type
pub.leaflet.richtext.facet#link
plaintext
They're difficult to compute on demand too. Users might follow tens of thousands of accounts, or a single account the user follows might post hundreds of times per hour. And users notice when their timelines don't update quickly. Dealing with this scale is a difficult problem. Bl…
15
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
1
plaintext
What about Mastodon?
16
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
I'll let you in on a little secret: ActivityPub has this problem too.
17
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
Have you ever noticed that if you log in to a Mastodon instance after being away for a while, instead of seeing your timeline you'll see this friendly fellow:
Depending on how many people you follow, how frequently they post, how long it's been, and how busy the instance you're using is, it could take a long time for your timeline to load. This is because Mastodon stops updating timelines for infrequent users. This lets a Mastodon serv…
20
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
228
byteStart
223
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
Mastodon employs various other UX tricks that help reduce the cost of producing timelines. For instance, because every user's account is tied to a specific Mastodon server, each server doesn't have to produce timelines for every user, just the users belonging to that server. Simi…
21
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
This works, but has similar costs as the timeline updating approach: a degraded user experience. Search queries can't find posts by accounts on servers that your server doesn't have any relationship with. Moving an account between servers becomes difficult to implement. Small ser…
22
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
276
byteStart
272
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
This doesn't mean the tradeoff that Mastodon makes here is unreasonable. This is a difficult problem. The solution they've chosen makes a lot more sense given the different cultural context. The Fediverse has a much higher proportion of tech-savvy users, and many of them want to …
23
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
1
plaintext
Can ATproto do the same?
24
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
189
byteStart
185
features
0
$type
pub.leaflet.richtext.facet#italic
1
index
byteEnd
227
byteStart
223
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
There's no reason in principle that the strategies chosen by Mastodon wouldn't work for ATproto. The reason they haven't been employed much is that broadly speaking, most Bluesky users want a global view of the network. We like that search works globally without much issue, that …
25
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
229
byteStart
197
features
0
$type
pub.leaflet.richtext.facet#italic
plaintext
Blacksky, Northsky, and Eurosky are large efforts because they're not trying to make the equivalent of a separate Mastodon server. They're trying to make the equivalent of a separate deployment of every Mastodon instance at once. They're meant to be global, full-network views of …
26
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
But what about power users who want an ATproto-based experience more like a small Mastodon instance for them and their friends? What are they to do?
27
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
726
byteStart
721
features
0
uri
https://github.com/bluesky-social/ozone
$type
pub.leaflet.richtext.facet#link
plaintext
Today, those users aren't well-served. There isn't an out-of-the-box, easy-to-deploy, and lightweight stack that's completely independent of the Bluesky appview. I think there's room for improvement here. A modified version of Red Dwarf that included a server for the Following fe…