Need advice about which tool to choose?Ask the StackShare community!
Akka vs Hystrix: What are the differences?
What is Akka? Build powerful concurrent & distributed applications more easily. Akka is a toolkit and runtime for building highly concurrent, distributed, and resilient message-driven applications on the JVM.
What is Hystrix? Latency and fault tolerance library. 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.
Akka can be classified as a tool in the "Concurrency Frameworks" category, while Hystrix is grouped under "Fault Tolerance Tools".
Akka and Hystrix are both open source tools. It seems that Hystrix with 17.7K GitHub stars and 3.63K forks on GitHub has more adoption than Akka with 10.1K GitHub stars and 3.04K GitHub forks.
Asana, Rainist, and ContentSquare are some of the popular companies that use Akka, whereas Hystrix is used by Intuit, Zalando, and Bodybuilding.com. Akka has a broader approval, being mentioned in 76 company stacks & 57 developers stacks; compared to Hystrix, which is listed in 12 company stacks and 8 developer stacks.
Pros of Akka
- Great concurrency model32
- Fast17
- Actor Library12
- Open source10
- Resilient7
- Message driven5
- Scalable5
Pros of Hystrix
- Cirkit breaker2
Sign up to add or upvote prosMake informed product decisions
Cons of Akka
- Mixing futures with Akka tell is difficult3
- Closing of futures2
- No type safety2
- Very difficult to refactor1
- Typed actors still not stable1