-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

[#7] Federation with other Bubbles


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.


#feature

🐞 Issue #7 in s/Bubble-Issues

🕹ī¸ skyjake [mod, sysop]

2023-05-13 · 1 year ago · 👍 Addison, deathbyindierock, norayr


4 Comments ↓


đŸ‘ģ sirwilburthefirst ¡ 2023-05-14 at 14:22:

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


🕹ī¸ skyjake [OP/mod...] ¡ 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 [OP/mod...] ¡ 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 ¡ 2023-05-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.


🐞 Mentioned in [#92] Multispaces

2023-06-19 ¡ 11 months ago

-- Response ended

-- Page fetched on Sun May 19 13:36:04 2024