• IndustryStandard@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    18 hours ago

    I thought the biggest problem for Python would be the GIL as it cannot share memory between processes and therefore needs to do use a database or other tool to share between them. Though in hindsight most web related services probably use databases to read and write data and this do not work out of shared process memory.

    • Dr. Moose@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      13 hours ago

      Threading from a single process is just a bad scaling strategy anyway so GIL is rarely an issue so you’re right most big web stuff does indeed use a database/queue/cache layer for orchestrating multiple processes.