Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chmac opened this issue Aug 1, 2022 · 4 comments
Open

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

chmac opened this issue Aug 1, 2022 · 4 comments

Comments

@chmac
Copy link

chmac commented Aug 1, 2022

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
Copy link
Owner

staltz commented Aug 1, 2022

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

@chmac
Copy link
Author

chmac commented Aug 1, 2022

@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
Copy link
Owner

staltz commented Aug 1, 2022

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
Copy link
Author

chmac commented Aug 1, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants