For one user like you or me, and say 500 npubs they follow, how big does that event store get if you were to store just the events from all those npubs? And that's not even counting blossom server files/image caching.

What do you think is the ceiling for how many users' notes can fit on a relay running on a raspberry pi? Before you need to start looking at bigger hardware.

Reply to this note

Please Login to reply.

Discussion

I honestly don’t know. User activity levels vary substantially, there are different kinds of notes beyond just short and long text, and a single black swan event such as “Reply Guy” or even a misbehaving client can drastically change the outcome. Maybe folks running WoT relays, such as Utxo and nostr:nprofile1qqsrl7kr5my9n6423nwaktrsq2nwzzenal4e95p9k9826mu294jkv4cpr4mhxue69uhksctkv4hzuemfwf5kumewdaexwtm0w46xymmcqydhwumn8ghj76rpwejkutn8d9exjmn09ehhyee0vd5xzaqpremhxue69uhksctkv4hrytn8d9exjmn09ehhyee0da6hgcn00qzf4t0k can give you a better idea.

For a single user, you can store all your notes on a Raspberry Pi.

For 500 users, storage needs remain modest, around 2 GB per year.

The main limitation of a Raspberry Pi is disk performance. High loads often occur due to I/O wait times. To achieve reliable performance, use a Raspberry Pi 5 with a PCIe NVMe adapter and NVMe drive. With a 100 GB NVMe disk, you could realistically run a full public relay.

Thank you! That's really useful info.