Need advice about which tool to choose?Ask the StackShare community!

Docker

170.3K
136.9K
+ 1
3.9K
Hystrix

169
160
+ 1
2
Add tool

Docker vs Hystrix: What are the differences?

  1. 1. Scalability and Resource Management: Docker is a containerization platform that allows applications to run in an isolated environment. It provides a lightweight and efficient way to package and deploy software applications, making it easier to scale and manage resources. On the other hand, Hystrix is a latency and fault tolerance library that helps improve the resilience of distributed systems. It focuses on isolating and managing failures within a system, ensuring that the application can handle high loads and recover from failures effectively.

  2. 2. Containerization vs Circuit Breaker: Docker uses containerization to package an application and its dependencies into a standardized unit called a container. It provides a consistent environment for the application to run across different platforms. In contrast, Hystrix focuses on circuit breaker patterns to handle faults and failures in distributed systems. It provides a way to prevent cascading failures by stopping the execution of failing operations and falling back to alternative paths.

  3. 3. Infrastructure vs Application level: Docker operates at the infrastructure level, providing an abstraction layer that allows applications to be packaged and deployed efficiently. It focuses on managing the runtime environment, dependencies, and resources needed for an application to run. On the other hand, Hystrix operates at the application level, providing a library that developers can use to implement fault tolerance and resilience features within their code.

  4. 4. Flexibility vs Fault Tolerance: Docker provides flexibility in terms of running applications across different platforms and environments. It allows applications to be packaged once and run anywhere, providing consistent behavior regardless of the underlying infrastructure. Hystrix, on the other hand, focuses on fault tolerance and resilience, providing mechanisms to handle failures and recover from them. It helps maintain the stability and responsiveness of the system even under high load or failure scenarios.

  5. 5. Resource Efficiency vs Performance Optimization: Docker provides resource efficiency by allowing multiple containers to share the same kernel and resources of the host operating system. This allows for efficient utilization of resources and better scalability. Hystrix, on the other hand, focuses on performance optimization by providing mechanisms such as thread isolation, fallbacks, and circuit breakers to prevent failures from affecting the overall system performance.

  6. 6. Deployment vs Service Resilience: Docker is primarily focused on deployment, providing a platform for packaging and deploying applications across different environments. It helps streamline the deployment process, making it easier to deliver applications consistently. Hystrix, on the other hand, is focused on service resilience, providing features such as circuit breakers, bulkheads, and timeouts to ensure that failures or performance degradation in one service do not impact other services in a distributed system.

In Summary, Docker focuses on containerization, scalability, and resource management at the infrastructure level, while Hystrix focuses on fault tolerance, resilience, and service-level performance optimization at the application level.

Decisions about Docker and Hystrix
Florian Sager
IT DevOp at Agitos GmbH · | 3 upvotes · 419.5K views
Chose
LXDLXD
over
DockerDocker

lxd/lxc and Docker aren't congruent so this comparison needs a more detailed look; but in short I can say: the lxd-integrated administration of storage including zfs with its snapshot capabilities as well as the system container (multi-process) approach of lxc vs. the limited single-process container approach of Docker is the main reason I chose lxd over Docker.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Docker
Pros of Hystrix
  • 823
    Rapid integration and build up
  • 691
    Isolation
  • 521
    Open source
  • 505
    Testa­bil­i­ty and re­pro­ducibil­i­ty
  • 460
    Lightweight
  • 218
    Standardization
  • 185
    Scalable
  • 106
    Upgrading / down­grad­ing / ap­pli­ca­tion versions
  • 88
    Security
  • 85
    Private paas environments
  • 34
    Portability
  • 26
    Limit resource usage
  • 17
    Game changer
  • 16
    I love the way docker has changed virtualization
  • 14
    Fast
  • 12
    Concurrency
  • 8
    Docker's Compose tools
  • 6
    Easy setup
  • 6
    Fast and Portable
  • 5
    Because its fun
  • 4
    Makes shipping to production very simple
  • 3
    Highly useful
  • 3
    It's dope
  • 2
    Very easy to setup integrate and build
  • 2
    HIgh Throughput
  • 2
    Package the environment with the application
  • 2
    Does a nice job hogging memory
  • 2
    Open source and highly configurable
  • 2
    Simplicity, isolation, resource effective
  • 2
    MacOS support FAKE
  • 2
    Its cool
  • 2
    Docker hub for the FTW
  • 2
    Super
  • 0
    Asdfd
  • 2
    Cirkit breaker

Sign up to add or upvote prosMake informed product decisions

Cons of Docker
Cons of Hystrix
  • 8
    New versions == broken features
  • 6
    Unreliable networking
  • 6
    Documentation not always in sync
  • 4
    Moves quickly
  • 3
    Not Secure
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is Docker?

    The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere

    What is Hystrix?

    Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Docker?
    What companies use Hystrix?
    See which teams inside your own company are using Docker or Hystrix.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Docker?
    What tools integrate with Hystrix?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    PythonDockerKubernetes+7
    3
    1103
    PythonDockerKubernetes+14
    12
    2607
    Jul 9 2019 at 7:22PM

    Blue Medora

    DockerPostgreSQLNew Relic+8
    11
    2337
    DockerAmazon EC2Scala+8
    6
    2712
    GitHubDockerReact+17
    40
    36300
    What are some alternatives to Docker and Hystrix?
    LXC
    LXC is a userspace interface for the Linux kernel containment features. Through a powerful API and simple tools, it lets Linux users easily create and manage system or application containers.
    rkt
    Rocket is a cli for running App Containers. The goal of rocket is to be composable, secure, and fast.
    Kubernetes
    Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.
    Cloud Foundry
    Cloud Foundry is an open platform as a service (PaaS) that provides a choice of clouds, developer frameworks, and application services. Cloud Foundry makes it faster and easier to build, test, deploy, and scale applications.
    Vagrant
    Vagrant provides the framework and configuration format to create and manage complete portable development environments. These development environments can live on your computer or in the cloud, and are portable between Windows, Mac OS X, and Linux.
    See all alternatives