I use eternity for Lemmy, no matter how trash my internet is, everything loads so fast!

  • Dark Arc
    link
    fedilink
    English
    411 hours ago

    Yeah… Lemmy’s code and the way it implements activity pub is not the greatest… A lack of batch operations means that every single federated like is an HTTP request of its own.

    • Rikudou_SageA
      link
      14 hours ago

      My favourite is having to send the activities sequentially, meaning you can very easily block the queue when a request fails.

      And that’s just the network architecture. Database architecture is another kind of hell. Like a simple delete operation taking multiple minutes because there’s a multitude of triggers, some of which take very long. That in itself is not bad, but the fact that the api waits for all the operations to succeed or fail (or the more usual case, timeout) is bonkers. Either fix the db or do it in the background.

      I was excited for Lemmy a year and a half ago, which quickly passed. Thinking of migrating my server to some alternative. If Sublinks launches eventually, I’m migrating in an instance, currently thinking of writing an api compatibility layer between Lemmy and Piefed to migrate without anyone noticing.