this post was submitted on 10 Jul 2023
8 points (100.0% liked)

Moving to: m/AskMbin!

63 readers
9 users here now

### We are moving! **Join us in our new journey as we take a new direction towards the future for this community at mbin, find our new community here and read this post to know more about why we are moving. Thank you and we hope to see you there!**

founded 1 year ago
 

The posts in Kbin don't seem to move much the last few days I've been using it, but if I go somewhere like lemmy.world the content is always pretty fresh

Is KBin just slow or is there something fundamental I don't understand about federation? (Likely)

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (1 children)

Yes it seems kbin is quite slow at times with fetching posts. I often have to check magazines I subscribed to to see if I did not miss something.

[–] [email protected] 2 points 1 year ago (1 children)

Yes, it seems like information doesn't get updated fast enough. I went to my subscriptions page and it says the last time someone posted to askKbin was 5 weeks ago. I go to the magazine, there's a post that's only 21 minutes old. Kbin isn't the only place with kinks to work out, though. Pretty much all of them are slow on the uptake, so to speak.

[–] [email protected] 1 points 1 year ago (1 children)

okay that is weird, kbin magazines are quite instant in /sub for me

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

I posted a question about sorting threads by "subscribed" and only seeing threads from magazines I'm not subscribed to and nobody could answer my question. I also have that weird problem. Maybe my account is cursed! LOL

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

Every instance has two queues - and outbox and an inbox. Either or both of those, on lemmy.world or kbin.social or both, could be full, leading to federation delays.

If you see a post on lemmy.world that doesn't exist on kbin then it could mean the post is still in the Lemmy outbox OR in the kbin inbox. Both servers are popular so it could be either.

It would be helpful if queue sizes were shown on a status page somewhere...

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

As far as I understood it, all updates first get into a queue and are sequentially processed, to keep the strain on the server as low as possible.

[–] [email protected] 3 points 1 year ago (1 children)

Lemmy uses a rust back end which basically compiles to native code. By contrast, kbin uses a php back-end.

In my experience, that has a big effect on the speed of federation. My first brush with the fediverse was friendica which is php. It had a lot of really great features, but the one thing that I just couldn't deal with was the slow speed of federation. My instances aren't like lemmy.world or kbin.social, pretty much every message comes from somewhere else. The better federation works, the better my experience.

[–] [email protected] 5 points 1 year ago (1 children)

How much data is pushed through ActivityPub? Unless it is at least tens of thousands of requests/events (i'm not familiar with how it works) per second I doubt that the choice of language would have big impact. PHP is made specifically for web backends after all.

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

Yeah. PHP is not a speed limiting factor unless you're calculating Pi to X million digits. Almost everything about ActivityPub is limited by network IO.

[–] [email protected] 3 points 1 year ago (1 children)

I have noticed my instance dmv.pub eventually seems to stop federating (or stop pulling in federated content) at some point, and won't start again until I restart it. Then it immediately pulls everything in. I need to track down the time when it stops federating and check the logs.

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

Sounds like an issue with Supervisor. There is a kbin server admin Matrix channel, you could get help there.

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

Does anyone know why federated microblogs wouldn't show up in a given magazine? I've added tags for a magazine I moderate, but posts don't show up with any regularity. However, upon clicking the tag in the magazine description, all sorts of posts with the tag show up.

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

For me, /sub stays the same for a long time but /all changes pretty quickly.

load more comments
view more: next ›