• browslings@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    1 year ago

    I assume it’s like api calls where it costs me two calls to write this response. One to view yours and one to write this reply.

    Right now there are about 200 posts on this thread so if I scroll through this thread it would cost me 200 calls.

    • forksandspoons@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Im not familiar with the lemmy source code but i would imagine it would batch fetch comments all at once with one api call (or maybe a few if the thread is big enough). Fewer api calls is less load on a lemmy server, less chance that any one of the calls them fails, etc. At least, if i wrote lemmy id i would do something like that.