Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Browser.Pub and Anubis

Technical Discussion
15 4 47

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    4 Posts
    27 Views
    @reiver i think the disjunction between Object and Link was actually unnecessary. https://github.com/w3c/activitystreams/issues/666i also think there's too much emphasis on types when there really shouldn't be -- it's the *properties* that you end up using almost all of the time. pretty much the only types that actually matter are the Activity types (because you can't infer those).
  • 0 Votes
    1 Posts
    7 Views
    @silverpill previous/next are the properties of a Collection object. And GoActivityPub uses "after" and "before" query parameters for configuring a keyset pagination cursor. Next is a collection IRI where ?after=IRI where IRI is the last object in the current collection.Previous is a collection IRI where ?before=IRI where IRI is the first object in the current collection.
  • 1 Votes
    18 Posts
    63 Views
    @soapdog@toot.cafe hmm... just thinking aloud here. You posit in another post that the network effects inflate exponentially: > Push models are resource hogs that approach exponential growth in a large network like the fediverse That's not true. If you post a message then it sends a copy to each follower. That's linear growth. If you collapse recipients via shared inboxes you can reduce that further. If you're referring to the torrent of requests that happen if your post is shared (the "thundering herd" problem) then that's actually a PULL happening from those requesting instances! Secondly, in a pull model of AP, you would need to continually poll servers of all your followers so as to approach a real-time effect. You'd be polling servers over and over again, and many of them would have nothing new, with so much wasted traffic. If your expectations include semi real-time updates, the push model is much more performant, in my humble opinion.
  • 0 Votes
    1 Posts
    5 Views
    Can you guess when I turned Anubis back on? Grey line (left-hand; y-axis) tracks page views Blue line (right-hand; y-axis) tracks unique users [image: 1769183491489-6fef34a9-80f9-4b9f-b266-212a31f486cb-image.png] You can even see the spike in traffic that brought down the site hard enough that I got my butt in gear to tune Anubis and turn it back on. Based on the numbers here, there is a thirteen-fold decrease in activity (or a ~92% drop in traffic), all identified by Anubis as bots and blocked. Selective adjustments were made to the nginx config and anubis bot policy to allow certain bits of traffic through (for unimpeded federation, etc.), but otherwise the site is now quite stable, on a small potato server. :potato: Default bot policy does let search engine crawlers though (I think), so that is win-win. Thank you so much @cadey@pony.social, my next stop is your GitHub Sponsors page.