this post was submitted on 04 Jul 2023
36 points (95.0% liked)

Fediverse

28735 readers
175 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 2 years ago
MODERATORS
 

I made this based on the gripe about some of the silent failures with federation. Might help users choose other servers. Might help admins troubleshoot. Open to comments and criticisms!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 years ago (2 children)

When I saw the bar looking like the Burj Khalifa, I assumed it was .world instead of .ml. Interesting.

Props to [email protected] for dealing admirably with the Rexxit hug of death.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

I’m expecting that JSON parsing is a huge overhead with the fediverse. I work on a SAAS that needs to do all its internal processing in under 10 ms, and serializing/deserializing ends up being a sizable chunk of server time. I saw a 40% reduction in runtime using simdjson for deserializing, and there exists a rust crate for it, but I haven’t had time to look the Lemmy code over.

Can anyone with an overloaded instance get on their command line and gather a decent flamegraph so the performance folks can aim optimizations in the right direction?

https://github.com/brendangregg/FlameGraph

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

Beehaw is currently doing the Burj

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

Yep, it seems completely different to when I last looked.

It seems everyone gets a turn a top.