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!

  • aleph@lemm.ee
    link
    fedilink
    English
    arrow-up
    8
    ·
    hace 1 año

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

    Props to Ruud@lemmy.world for dealing admirably with the Rexxit hug of death.

    • nsfw_alt_2023@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      10
      ·
      edit-2
      hace 1 año

      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

      • aleph@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        hace 1 año

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

        It seems everyone gets a turn a top.