this post was submitted on 02 Jul 2023
42 points (97.7% liked)

Selfhosted

39222 readers
363 users here now

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!

founded 1 year ago
MODERATORS
top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago (1 children)

Amazing blog post! Been reading the ActivityPub spec and found it rather lacking. It’s only when you add WebFinger and signed messages that things start to make sense.

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (2 children)

And a followup question: wouldn’t it be more efficient for big instances to use WebSockets to federate? Making a HTTP request for every action your users take seems unnecessarily wasteful.

[–] [email protected] 3 points 1 year ago

Yeah it’s definitely very busy in terms of the amount of requests that’s get made. I’m not handling a bunch of them that I don’t need but there’s shitloads all the time.

[–] [email protected] 3 points 1 year ago

I think that would only work when the number of instances is small. Two solutions to this might be:

  • have instances act like relays where the home instance of a community notifies 10 instances and then each of those instances notifies 10 instances, etc.
  • batch updates on a timer such that once a minute all posts, comments, boosts, etc within a minutes are buffered and sent together.
load more comments
view more: next ›