-
Notifications
You must be signed in to change notification settings - Fork 54
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
Relays and Hachyderm -- Community Discussion Thread #32
Comments
@krisnova spent some time on stream trying to find a relay software to run and i don't think was happy with any of them. i think it would be great to offer a relay to individuals that want to host their own instances but want to be part of the hachyderm community. |
I'm running a personal instance as well, https://m.unix.house/@jmc, and am definitely keen to test out relay functionality if it emerges! |
I'v been using https://github.com/yukimochi/Activity-Relay for a Danish mastodon relay I manage - it's been working pretty smooth so far. The CLI is a bit quirky regarding how things are named, but functionality is great and uses fairly minimum amount of resources |
I'm running a personal instance and would be keen to link in with the hachyderm firehose if possible. |
Precisely. I would very much love the opportunity to relay with hackyderm 😊 |
this is my opinion, not the opinion of the mods/admin/whatever: i think it should be a matter of how and when not if. i see no issues having a relay up and subscribing to it, but i do think we want to be careful about which relay based on both what features it offers and how maintainable it is. as the comment above suggests, so far i don't think we've identified one that works smoothly out-of-the-box. |
I'd like to add an upvote for this. I am running a just-me Mastodon server and hachyderm is my first choice of server that I would want to relay. If and when this becomes available I'd be happy to try it out. Thank you. |
FWIW I run https://relay.gay using https://git.asonix.dog/asonix/relay and it's been easy to set up and working great. |
thanks for the recommendation. what's the size of the sled db? and do you have any other metrics around network traffic, CPU, ram, etc? |
@dmah42 Looks like sled is 5.1MB at moment. I don't have great metrics but the relay never seems to use more than a fraction of available CPU (very hard to notice next to Mastodon most of the time) and it's using about 256MB of RAM that I can see. Obviously my relay is somewhat small (both in terms of number of connected servers and the fact that most of them are tiny), but I suspect it's quite efficient thanks to the nature of rust. Network traffic is naturally the big one as relays are basically a firehose - there's 38 instances sending the relay copies of every public post, and it's then sending it on to the other 37. But since it doesn't touch the media (and the outgoing objects are just Announces of the relevant URL), it doesn't seem to be a huge hog as best I can tell. |
I'd definitely be interested in this as well, with my personal instance at cantor.cloud |
Since relays are still an ongoing Discussion I'm going to update the label type :) |
I've been thinking about this a lot lately. I'm on hachyderm but also interested in running my own instance, however don't want to be cut off from the opportunity to find new content. Relays seem like a good solution but the overhead seems significant. I've been working on an alternate scheme, but after this post: https://coales.co/@msh/109595980918905804 I have concerns about how it would be received... I've been working on some go code that would periodically ping the public timeline on hachyderm.io (haven't messed with the streaming yet) via the API and collect the names of the posters who appear there. I was going to then follow them from a separate, dedicated account on my GotoSocial instance. My understanding is that once I do this, the content from those being followed by the dedicated account would become available as part of the Federated timeline (I haven't completed the script yet, so I haven't verified this). An evolution of this pattern would be to offer an API endpoint with maybe the latest 1000 people who have posted and just create a client to read that list and populate a local instance. I'd appreciate your thoughts on this. Would I be abusing hachyderm.io by doing this, or breaking some guarantees around data ownership? Thanks in advance. |
Thanks to @jerry@infosec.exchange I was made aware that apparently what I built is a rather old concept called a follow bot and they were controversial as much as 2-3 years ago when they were somewhat common before relays. It seems they were deemed 'relatively ok' provided they were used to populate small instances and honored the tag '#nobot' in someone's profile. My aversion to relays currently stems from:
Though the fact that the people running hachyderm are apprehensive about deploying a relay the it's complexity does make me question the overall approach and wonder if something like what I described above wouldn't be simpler to adopt and deploy. (NOTE: Edited for clarity to address the question below) |
Mastodon does support consuming relays natively. Is that what you mean? infosec exchange recently launched one. Given their size you could probably ask them for info on the cost (bandwidth etc) and get more relevant answers |
@ripienaar RE: "they are not widely supported/native as a part of at least mastodon". Mastodon supports consuming relays but I don't believe it supports providing them natively, unless I'm mistaken which is entirely possible. |
Yes Mastodon natively consume not produce/serve |
Since this discussion hasn't been active in a while I'm going to go ahead and close it. So far we don't have any relays that we're going to set up but other instances are welcome to submit requests if they wish. |
I'm going to add in here that there's been a request from macaw.social for a relay (and Reid has actually been gently requesting one since November... Sorry for not posting this on github earlier, Reid!) |
Pinging @Preskton as relays fall under infra's purview :) |
I'm running my own self-hosted instance
@ghuntley@ghuntley.com
akahttps://fediverse.ghuntley.com/@ghuntley
and would love to relay with hachyderm. It's only me. No other users. Ever.The text was updated successfully, but these errors were encountered: