I’ve been in Lemmy for a month and I’m quite enjoy using the service.

However, after the mass migration on both Reddit and Twitter, I feel like the services are now significantly slower than they used to be. So I’m wondering whether I should have some kind of personal CDN/relay service for “caching” information especially medias or just create a new instace and federated to public Lemmy instance?

FYI, I have a private OpenVPN served on DO and 1L “server” that run Proxmox for existing services to my home. Should be okay to have a Nginx reverse proxy, right?

You are viewing a single thread.
View all comments View context
13 points

I can say with full confidence that I have absolutely no idea.

I’ve heard this idea thrown around before, so I take no credit for it: One way to circumvent the issue would be to have actual relay nodes. As in: nodes that don’t hold contents or users themselves, but just “broadcast” incoming messages to several instances, so that the source instances don’t have to. This would of course have its own drawbacks and limitations, but it would alleviate the bottleneck.

I’m sure some kind of solution will be found though. Call me optimistic, but I think the lemmi/binniverse has a bright future ahead of it. I, for one, have burned my reddit bridges.

permalink
report
parent
reply
10 points

@sab @eleitl There are ActivityPub relays already: https://github.com/brodi1/activitypub-relays

permalink
report
parent
reply
2 points

Good to know, thanks!

permalink
report
parent
reply
1 point
*

Or use crypto. Generate keypairs, sign updates. Add support for delegating updates to other instances.

Maybe add support for having instances getting data to indicate if they’re willing to relay update data to others, and have main instance refer to them for a certain time period, say… 6 hours maybe?

Relay willingness would depend on instance config and load, ideally.

Edit: any reason I’m getting down votes? If there is a problem with the approach, at least leave a comment.

Edit2: Crypto as in CRYPTOGRAPHY! Which has been shortened to crypto since long before bitcoin was invented. If this was some non-tech forum I could understand, but a community about self hosting and no one seems to be making the obvious connection? Wow. And you guys host stuff, that’s just scary.

https://www.cryptoisnotcryptocurrency.com/

permalink
report
parent
reply
1 point

Yes, we all know crypto and scalability go hand in hand /s

permalink
report
parent
reply
3 points

You thought I was talking about cryptocurrencies? Really? You read that, saw crypto, public/private keys, signing data, and thought “He’s talking about cryptocurrencies, and surely not cryptography!” ??

Seriously? Wow… I sincerely hope you’re not hosting anything public, and if you do, consider shutting it down and step away from the server until you have a bit more technical insight.

permalink
report
parent
reply
1 point

No down vote from me, but surely by now you know how people feel about crypto.

At any rate, I don’t think an immutable ledger is desirable for speech (what’s the point of moderation), perhaps more something like torrent would be preferable. And, as someone else mentioned, relay software already exists.

permalink
report
parent
reply
3 points
*

Who said anything about immutable ledger? I was talking about signing updates so it can be verified when relayed through untrusted third parties.

So if lemmy.world sends an update to lemmy.selfhosted.guy and then lemmy.anotherselfhosted.guy federates with lemmy.world, lemmy.world can then say “Hey, here’s my public key, lemmy.selfhosted.guy have a copy of my data and is willing to be delegated to, you can get the data from him” and then lemmy.world doesn’t have to distribute it’s changes to everyone itself, but maybe just update 5-10 hosts. And the number of relays will scale with the network.

And thanks to the data being signed, you can trust the updates from lemmy.selfhosted.guy being from lemmy.world and not been tampered with, keeping lemmy.world as the authority of the data, even if you don’t trust lemmy.selfhosted.guy.

Edit: This would also mean all the small self hosted instances will boost the network instead of threatening to overload it.

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 3.4K

    Monthly active users

  • 3.4K

    Posts

  • 77K

    Comments