Wed, 14 Apr 2021 02:34:09 +1000
wrote the following
Wed, 14 Apr 2021 02:34:06 +1000
Hi people of Zot,
Is there a "clean" way to delete a channel so that it no longer appears on the global directory? Also, same question for a server: is there something I can/should do when turning off a server for good?
I'm asking because I've installed a few servers (Zap, Misty, Hubzilla...) for testing purposes, and I've noticed that some of those which were shut down still remain in the sites directory.
Link to Source
Wed, 14 Apr 2021 06:49:24 +1000
There is no perfect solution which doesn't require the directory service to validate each entry it holds at some known interval, and this operation simply does not scale.
Having said that, the directory was completely re-written only a few short months ago and there were multiple conflicting ways to determine if a channel was still alive or not - and one of them was removed since we no longer provide a mirrored "global" directory. This turned out to be spammer heaven and the mirroring didn't work very well and therefore had to be nixed.
In the best situation, we can only keep track of the status of those you have a relationship with. Those that liked a post in the public stream a year ago and otherwise have no relationship with you or anybody on your site are more problematic. We also can't really indicate a channel's health based on the site health, because the site may have been re-installed. We would need to check every entry historically associated with the site to find out if it's still available. Again this doesn't scale very well, but isn't as bad as checking each directory entry.
I'll just say that I'll review the code and see if we can do better, since we actually removed one method of determining "proof of life" - which worked in a central directory but doesn't work in a completely decentralised directory. We may require a more creative solution which simply indicates visually for each entry how long since we've had any contact and maybe let you choose a cutoff date (only show me channels that were known to be alive in the last 30/60/90 days)-- or something else that achieves the desired result but perhaps in an unconventional way.
Link to Source
Bill Statler ?
Haakon Meland Eriksen (Parlementum)