• redcalcium
    link
    fedilink
    English
    6
    edit-2
    1 year ago

    I also use kubernetes to run my Lemmy instance. Sadly, pictrs uses their own “database” file which can only be opened by a single pod because it refuse to run if the “database” lock is already acquired by another pod, making scaling up the number of pods impossible. I wish they use postgres instead of inventing their own database. I suspect this is one of the reasons why those large Lemmy instances have difficulty scaling up their server.

    • @[email protected]
      link
      fedilink
      English
      11 year ago

      You mean pictrs can’t scale, or the other pods cannot as well? I separated lemmy-ui, the backend, and pictrs into different pods. Haven’t tried scaling anything yet though, but I did notice the database issue with pictrs when RollingRestart, had to switch to Recreate.

      • redcalcium
        link
        fedilink
        English
        31 year ago

        Only pictrs that can’t scale. Lemmy ui and backend seems to be stateless.

    • @[email protected]
      link
      fedilink
      English
      11 year ago

      This is a really interesting observation. Curious if the devs are aware that this breaks simple scalability efforts