• illusionist@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    1 day ago

    I have no experience in this and I feel bad for questioning the tls results but I do not understand why it would matter that much. Could it be that there’s something else going on? Especially comparing debian with debian in a container

    • bus_factor@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      10 hours ago

      Docker does a lot of mumbo jumbo with the disk, I’m guessing that’s why. Start a container with a host folder mapped in and do something moderately IO-intensive, like clone a large-ish git repo, and you will notice it’s a lot slower than bare metal. I’m guessing this is because docker uses union file systems heavily, and that adds IO overhead. You’d probably get more or less equivalent performance to bare metal if all you did was set up a simpler form of container which just configured some namespaces.

      TL;DR: Containers are fast, docker specifically does extra stuff which is slow.