💾 Archived View for bbs.geminispace.org › u › sirwilburthefirst › 82 captured on 2023-11-14 at 09:23:03. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-04)

➡️ Next capture (2023-12-28)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 👻 sirwilburthefirst

Re: "Federation with other Bubbles"

In: s/Bubble-Issues

Out of curiosity, what is it about the implementation that prevents scaling?

👻 sirwilburthefirst

May 14 · 6 months ago

3 Later Comments ↓

🚀 skyjake · 2023-05-14 at 16:43:

For starters, it's written in Python, which makes it inefficient for both CPU and memory use. Fortunately, GmCapsule has multiple worker threads (20 shared by skyjake.fi and geminispace.org), so it shouldn't fall over immediately. There's a single simple backend database (MariaDB), with *all* the user data (file attachments and all).

I'm not expecting the user numbers to become so large that there would be need for load balancing or database replication for sharing the load.

🚀 skyjake · 2023-05-15 at 20:20:

It would be great to reuse existing Gemini infrastructure for this. Antenna/Cosmos could be used as sources of "federated" posts that will appear in All Posts as new entries, to be interacted and commented on. Something to consider...

— /s/Bubble/188

🦀 jeang3nie · May 19 at 22:42:

I think this is potentially bigger than a simple feature for Bubble itself. I would love to see a community drafted specification for how to federate servers, much like ActivityPub but obviously designed with light weight in mind. But like AP in that it could be a generic way to federate different types of servers, not just bubble. Something as well defined as Gemini itself, so that implementation in any language would be straightforward.

Original Post

🌒 s/Bubble-Issues

One server does not fit all, and in any case, the Bubble implementation is not meant to scale to very large numbers of users. It would make sense to think about solutions where instances federate with each other. In practice, this could be something as simple as the instances subscribing to each others' feeds, and allowing users to reference (and notify) remote users as well as local ones.

💬 skyjake · 4 comments · 3 likes · May 13 · 6 months ago · #feature