staltz / easy-ssb-pub

An easy-to-host server that runs an SSB "Pub"
GNU Affero General Public License v3.0
209 stars 35 forks source link

How many followers can easy-ssb-pub handle? #37

Open chmac opened 2 years ago

chmac commented 2 years ago

I realise @staltz is no longer maintaining this, I'm hoping maybe some pub admins are still here and might be able to answer my question.

We're looking at moving a small social network of ~80k users onto SSB. Ideally we'd have all our users connected to 1 pub so that they can connect to each other, no matter who's online. Plus, they all have a relationship with the "organisation". Anyway, I'm trying to understand if any of the current SSB pubs will be able to cope with this many members. I suspect that many SSB clients may have a hard time even parsing the feed of the pub, which could be 80k messages (assuming 1 per member).

If anyone has any input as to how pubs scale, we'd be mighty grateful.

staltz commented 2 years ago

I highly recommend https://github.com/ssbc/go-ssb-room

chmac commented 2 years ago

@staltz Thanks for the quick response.

I may have misunderstood something, but I thought that go-ssb-room was a room server rather than a pub. We wanted to have an explicit relationship between users and the "organisation" so that it's visible in all the streams, etc. So effectively every user is connected to every other user by 2 hops. As I understood the protocol docs on rooms, they don't quite achieve that. They make all connected peers "local" to each other, but only while other users are simultaneously online was my understanding.

Maybe I'm missing something?

If not, how would you imagine we use a room to connect all the users together?

staltz commented 2 years ago

You'd have to have an organisation account that is connected to the room. But yeah, there isn't a pub server that is as well developed as go-ssb-room is.

chmac commented 2 years ago

@staltz Okay, so we could have a separate SSB client for the organisation and keep it always connected to the room. I see. Okay, thanks for the suggestion, I'll look into that.