reinar

joined 2 years ago
[–] reinar@distress.digital 6 points 2 years ago (1 children)

C#

eh... those are fundamentally different, C is not object-oriented so OOD part goes straight out of the window. The only thing similar about them is syntax to some degree (which is really irrelevant), approach is completely different.

[–] reinar@distress.digital 1 points 2 years ago (2 children)

1000 daily visitors

it's not much, any non-micro vps from decent provider will do. For precise recommendations it'd be better to know where most of your users are located, latency is a bitch.

[–] reinar@distress.digital 2 points 2 years ago (1 children)

I've updated to 0.18.0 as well and can see your comment

[–] reinar@distress.digital 9 points 2 years ago

It's not even about gui.
If you want to self host you get yourself a pile of software of community-level quality (i.e "it works good until it doesn't" is the best outcome) you need to care about. This means constantly being involved - updating, maintaining, learning something, etc, and honestly it's time-consuming even for experienced sysadmins.

[–] reinar@distress.digital 2 points 2 years ago (1 children)

Generated wireguard config with nat-pmp enabled in ProtonVPN panel, put keys and endpoints to my vpn client (gluetun docker image), used https://github.com/soxfor/qbittorrent-natmap image to interactively update port from qbittorrent settings on proton through natpmpc.

https://github.com/soxfor/qbittorrent-natmap/issues/13 - I've set up my docker-compose pretty much by this example (ignore "unreliability" feedback, OP probably has some issues upstream - image itself is working). If you are using this, remove all upnp/nat-pmp checkboxes from qbittorrent, this image is your nat-pmp client.

Speaking of clients: this setup is for sure extremely ugly, but native implementation of nat-pmp in libtorrent for some reason is not doing what's needed, maybe because qbittorrent tries to use upnp/nat-pmp simultaneously. What I see is an error message from upnp client ("no router found" - understandable) and complete silence from nat-pmp.

[–] reinar@distress.digital 1 points 2 years ago (1 children)

They are now refunding past their 30-day money back period if you didn't use cash. Just got a refund for a top-up made in February.

[–] reinar@distress.digital 1 points 2 years ago* (last edited 2 years ago) (3 children)

https://lemmy.dbzer0.com/post/21703
I ended up buying ProtonVPN. Port forwarding required a bit of trickery with natpmpc image to set up in my case (headless wireguard gateway for dockerized services), however now it's fine and working.

Speeds are at least 800Mbps download (which is maxing out my uplink, vpn is likely to be capable for more), didn't have a chance to test upload.

[–] reinar@distress.digital 2 points 2 years ago

They are claiming ProtonVPN port forwarding only works with Windows, however this is only relevant if you are using protonvpn app.

You can still generate wireguard config with nat-pmp support.
https://protonvpn.com/support/port-forwarding-manual-setup/

[–] reinar@distress.digital 3 points 2 years ago

it's most likely coming from postgres, db server tends to be the main resource hog.

[–] reinar@distress.digital 8 points 2 years ago* (last edited 2 years ago)

Yes, big instances are not ready to handle the traffic and could go down - see lemmy.ml

[–] reinar@distress.digital 8 points 2 years ago

Are all these thousands of lemmy servers useless?

almost. It's actually worse than that - when you subscribe to a community from your server it will fetch like 20 posts and that's it, you'll get only new stuff after that, so there's no possibility to do a full mirror of selfhosted, for example, if you started your instance today and didn't fetch posts and comments manually.

ActivityPub per se is just a spec on s2s/s2c communication, which is not a great thing since in many cases it assumes single source of truth, which potentially puts huge load on more popular instances.

I think a quick and dirty hack to this could be the following - each linked instance may maintain cache of announces (so there would be benefit of just forwarding original http signed requests w/o being afraid of malicious actor), which your instance could pull, this way you could populate your mirror without overloading the original source.
Distributed activities propagation though... Let's say there are some design steps involved to make this truly distributed, however I feel like it's possible.

view more: ‹ prev next ›