I'm sorry, it took *how* many servers to post a single long message from Ghost to 5k fediverse accounts and handle some replies?
-
4d3fectreplied to π£ unimplemented trap π last edited by
@kissane right. This guy has, I think, some thousands (?) of subs. So,... Not good?
-
@polotek @kissane @fediversereport Why does it take so many resources? Is it because there are many destinations for the message?
-
π£ unimplemented trap πreplied to Marco Rogers last edited by
@polotek @fediversereport I feel like people are talking about it! But maybe less publicly than they could be.
(And I have no handle on whether what Ghost is encountering is an AP thing or a them thingβor, to be more precise to which degree it's one thing or the other.)
-
π£ unimplemented trap πreplied to Emelia πΈπ» last edited by
@thisismissem Yeah, I just can't understand this.
The fedi preview DDOS is obviously a thing, but the way this is presented just seems so weird. (And if it's actually about link previews, are they going to charge more for posts that get widely boosted? I have questions.)
-
Darius Kazemireplied to π£ unimplemented trap π last edited by
@kissane @thisismissem this (as in what the ghost post describes) does not pass a smell test for me
-
π£ unimplemented trap πreplied to 4d3fect last edited by
@4d3fect Thousands of email subscribers is pretty easy to price out for Ghost, but thousands of fedi subscribersβ¦unclear what that will involve.
-
Emelia πΈπ»replied to Emelia πΈπ» last edited by
@kissane @fediversereport okay, so I had a quick look, at it seems like they're processing everything in the request/response lifecycle, instead of using a queue:
1. https://github.com/TryGhost/ActivityPub/blob/main/src/app.ts#L95
2. https://fedify.dev/manual/mqSo by using queue they could probably get better performance
-
π£ unimplemented trap πreplied to Darius Kazemi last edited by
@darius @thisismissem I would say that I am significantly more alarmed by the way they're talking about it and what that implies than by AP's intrinsic resource consumption. But I am just a person who tries to avoid running servers of any kind.
-
π£ unimplemented trap πreplied to Emelia πΈπ» last edited by
@thisismissem @fediversereport Do you mind if I boost this?
-
Emelia πΈπ»replied to Emelia πΈπ» last edited by
@kissane @fediversereport this also means incoming activities are likely holding connections open longer triggering auto scaling because usually that happens based on request count and CPU/Memory
-
Emelia πΈπ»replied to π£ unimplemented trap π last edited by
@kissane @fediversereport sure!
-
bengoreplied to π£ unimplemented trap π last edited by
@kissane ugh so I believe this is a mastodon fail and def not a protocol fail.
(at risk of being wrong, and sorry if I am)
Mastodon only shows things that are pushed into it from other servers.
Push is only important for real-time synchronization.
IMO it's obviously a good idea for any AP Server to check like once a day or on-demand to make a single HTTP Request to an Actor's outbox and show its recent stuff.
But mastodon doesn't do this.
-
@kissane so for a publisher to ensure that all their followers see a thing, and because in practice so many people use mastodon, a publisher has to spend all this compute/bandwidth/energy to make sure that they push the post into each followers inbox.
It would be better for everyone for mastodon and everyone else to just fetch a followee's outbox once a day (aka 'what RSS does') and just progressively enhance into receiving pushes from publishing actors that want to do it. but masto requires it
-
bumblefudgereplied to π£ unimplemented trap π last edited by
@kissane @4d3fect I used it for thousands of subscribers years ago and it was like $9/mo. activitypub may only make sense for self hosting if having thousands of masto followers is burning that much juice. I'd be interested to benchmark 5thousand followers on 100 masto servers versus 5000 on 100 threads versus 100 friendica versus 100 pleroma etc etc... someone write a grant proposal! οΈ
-
Pete Ashtonreplied to π£ unimplemented trap π last edited by
@kissane @fediversereport @thisismissem I read that post as βwe set this up using our standard systems and they are definitely not right for this, so weβre going to have to figure out a different system that fits and thatβll take a while, but weβll get there.β But Iβm just watching and enjoying the messy honesty of these posts, not necessarily understanding the details.
-
@Viss @kissane @fediversereport ghost is using fedify! which is fairly modern JS AFAIK.
-
@Viss @kissane @fediversereport might be more networking intensive than compute intensive, fwiw
-
@by_caballero @kissane @fediversereport yeah the issue here isn't the front end js stuff - its whats running under the hood, powering any given mastodon instance. its a ton of ruby on rails, which twitter showed the world "isnt exactly the best language/framework to do huge, high volume. small bandwidth transactions and queueing systems". its why twitter scrambled to get off RoR and moved to scala as they grew.
i was VERY SURPRISED, to say the least, learning that mastodon still uses RoR.
-
@Viss @kissane @fediversereport right but ghost doesn't run mastodon, it runs fedify which interoperable with mastodon API. the 10 servers in question are fedify servers:
https://fedify.dev/ -
π£ unimplemented trap πreplied to Pete Ashton last edited by
@pete @fediversereport @thisismissem I think that's a reasonable take!
It's also partly the information that to federate Ghost posts to a group that's equivalent in size to the number of people who follow me on Mastodon will cost at least $155/monthβnot counting email subscribersβis somewhat startling to me.
Like, I fully understand that infra isn't free, but Wordpress (which I am not going to use) charges $25/mo for a plan that includes AP federation.