StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. DevOps
  3. Monitoring
  4. Fault Tolerance Tools
  5. Hystrix vs Polly

Hystrix vs Polly

OverviewComparison

Overview

Hystrix
Hystrix
Stacks309
Followers163
Votes2
GitHub Stars24.4K
Forks4.7K
Polly
Polly
Stacks464
Followers37
Votes0
GitHub Stars14.0K
Forks1.3K

Hystrix vs Polly: What are the differences?

Hystrix and Polly are both circuit breaker libraries that help developers implement fault tolerance and resilience in their applications. While they serve a similar purpose, there are key differences between the two.
  1. Programming Languages Supported: Hystrix is primarily designed for Java applications, whereas Polly is designed for .NET applications using C#. This difference in supported programming languages can greatly influence the compatibility and adoption of these libraries in different ecosystems.

  2. Integration: Hystrix integrates seamlessly with Netflix components, such as Eureka for service discovery and Ribbon for load balancing, making it a popular choice for microservices architecture built on the Netflix stack. On the other hand, Polly is built to integrate with the .NET ecosystem, leveraging features provided by ASP.NET Core, such as Dependency Injection and HttpClientFactory.

  3. Configuration Flexibility: Hystrix provides a rich set of configuration options, allowing developers to fine-tune circuit breaker behavior, thread pool settings, and timeouts. Polly, on the other hand, offers a simpler configuration model with sensible defaults, making it easier to get started quickly. This difference in configuration flexibility allows developers to choose between highly customizable behavior or simplicity.

  4. Advanced Resilience Features: Hystrix supports additional features like request caching, request collapsing, and request staging, which can be beneficial in complex scenarios. Polly, while it focuses on the core circuit breaker pattern, provides additional resilience policies such as Retry, Timeout, Bulkhead, and Fallback, offering a wider range of options for handling failures.

  5. Community Support and Momentum: Hystrix, being an older library, has a larger community and has been battle-tested in production systems over the years. It has gained considerable momentum and offers extensive resources and examples. Polly, on the other hand, is relatively newer but has been gaining popularity in the .NET community, with a growing number of contributors and resources.

  6. Async Support: Hystrix provides built-in support for asynchronous operations, allowing developers to easily handle non-blocking calls. Polly, too, offers async support, but it requires some additional configuration and setup to work seamlessly with asynchronous code.

In Summary, Hystrix and Polly have their own strengths and cater to different programming languages and ecosystems. Hystrix is a robust choice for Java-based applications with extensive configuration options and advanced features, while Polly offers simpler configuration, wider range of resilience policies, and great integration with the .NET ecosystem.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Detailed Comparison

Hystrix
Hystrix
Polly
Polly

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.

It is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner.

Latency and Fault Tolerance;Realtime Operations; Concurrency
Bulkhead Isolation; Timeout; PolicyWrap
Statistics
GitHub Stars
24.4K
GitHub Stars
14.0K
GitHub Forks
4.7K
GitHub Forks
1.3K
Stacks
309
Stacks
464
Followers
163
Followers
37
Votes
2
Votes
0
Pros & Cons
Pros
  • 2
    Cirkit breaker
No community feedback yet
Integrations
No integrations available
.NET
.NET
ASP.NET Core
ASP.NET Core
.NET Core
.NET Core

What are some alternatives to Hystrix, Polly?

No alternatives found.

Related Comparisons

GitHub
Bitbucket

Bitbucket vs GitHub vs GitLab

GitHub
Bitbucket

AWS CodeCommit vs Bitbucket vs GitHub

Kubernetes
Rancher

Docker Swarm vs Kubernetes vs Rancher

gulp
Grunt

Grunt vs Webpack vs gulp

Graphite
Kibana

Grafana vs Graphite vs Kibana