Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Docker vs VPS?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Docker vs VPS?

I am not good at backend technology. Why most ppl here prefer VPS rather than container? Docker and K8S seem very hot today, it’s more convenient to use than VPS. Thanks.

Comments

  • Both are distinct technologies, both for separate use cases. One could often accomplish a goal by using either of them, but do know that process-containers are not made for stateful workloads.

    So I would recommend choosing your tech stack based on your use case rather then trying to get a highscore on buzzword-bingo. The reason most people in here talk about VPS is because they need something that's easy to manage without a massive convoluted bloated overhead for no reason. There is no reason to install wordpress in k8s, and it's totally moronic to setup postgres or mysql inside k8s for example.

    Below is a diagram with a quick overview of all the things that fall under the container buzzword umbrella.

    Source: https://www.youtube.com/watch?v=0z3yusiCOCk

    Thanked by 3JTR jpeng Quinten
  • havocxhavocx Member
    edited February 2020

    KVM with docker is my preferred route. KVM because I like picking my own images etc. Docker because you can deploy a grouping of services via text file basically (docker-compose). And yeah that's a overhead as Virtual says...but the clean simplicity of creating & destroying docker stuff appeals

    Haven't personally found a use for k8s...seems more geared towards loadbalancing and orchestration. I'll cross that bridge when needed

    Thanked by 2ouvoun jpeng
  • You’re conflating terms a bit, but I get the gist of what you’re asking. And +1 to @havocx. Is there overhead to running basic stuff (like a webserver / backup stack) in a container? Sure.

    But the convenience of being able to simply transfer a single directory to a new device and spin up your stack in a matter of minutes is unmatched.

    Thanked by 1jpeng
  • IonSwitch_StanIonSwitch_Stan Member, Host Rep

    @ouvoun

    Is there overhead to running basic stuff (like a webserver / backup stack) in a container? Sure.

    If you are using native networking, there should be ~0% difference between 'bare metal' and 'docker'.

    Thanked by 1jpeng
  • @IonSwitch_Stan said:
    @ouvoun

    Is there overhead to running basic stuff (like a webserver / backup stack) in a container? Sure.

    If you are using native networking, there should be ~0% difference between 'bare metal' and 'docker'.

    Networking, sure, if you have it set to use host. But IO is definitely impacted by containerization, and memory usage could be a concern in resource constrained scenarios.

    Thanked by 1jpeng
  • raindog308raindog308 Administrator, Veteran

    ouvoun said: But the convenience of being able to simply transfer a single directory to a new device and spin up your stack in a matter of minutes is unmatched.

    And how often do you do that?

    Thanked by 1JTR
  • raindog308 said: And how often do you do that?

    My k8s nodes spin up new pods to scale every few minutes.

Sign In or Register to comment.