• @sexy_peach@feddit.de
    link
    fedilink
    English
    610 months ago

    I think the “x users online” thing in lemmy is bugged as hell. It’s never correct for feddit.de, mostly waaaaaay higher than could be correct.

    • @nutomic@lemmy.ml
      link
      fedilink
      English
      810 months ago

      Its the number of open websocket connections, so it also counts users who are not logged in or individual tabs which are opened by the same user.

      • @sexy_peach@feddit.de
        link
        fedilink
        English
        310 months ago

        Ah, interesting, thanks. How long does such a websocket connection last, if a user leaves the website?

        • @nutomic@lemmy.ml
          link
          fedilink
          English
          610 months ago

          I think it should be closed immediately, at least in theory. Anyway we are going to remove websocket in the next major version, then that counter will probably also be gone.

    • Dessalines
      link
      fedilink
      510 months ago

      Yep. We have really good queries for activity, which for us means “a local person who has posted / commented in the last X timeframe”.

      These are on the site and community sidebars.

      Unlike reddit, we don’t gain anything by inflating our numbers, so when it says this community has 84 users / day, that means 84 unique real people have posted / commented in the last day.

      • @Magusbear@lemmy.ml
        link
        fedilink
        210 months ago

        Oh, I didn’t realize it’s only users who have posted/commented. That explains the numbers.

        • Dessalines
          link
          fedilink
          410 months ago

          For sure… one reason I use that, is because there are a lot of dead reddit communities with massive user counts. Because communities rise and fall, total user counts aren’t really a good way to gauge activity.

          • @Magusbear@lemmy.ml
            link
            fedilink
            310 months ago

            Good approach, yea. Stumbling over a subreddit with thousands of users only to realize that nothing’s ever posted is really annoying.