Change version for the version 3.0.1 -rc0
20 files changed
tree: 5bf0636393725593b228f1259f714063ab608454
  1. .github/
  2. .idea/
  3. .mvn/
  4. dev-support/
  5. ratis-assembly/
  6. ratis-client/
  7. ratis-common/
  8. ratis-docs/
  9. ratis-examples/
  10. ratis-experiments/
  11. ratis-grpc/
  12. ratis-metrics-api/
  13. ratis-metrics-default/
  14. ratis-metrics-dropwizard3/
  15. ratis-netty/
  16. ratis-proto/
  17. ratis-replicated-map/
  18. ratis-resource-bundle/
  19. ratis-server/
  20. ratis-server-api/
  21. ratis-shell/
  22. ratis-test/
  23. ratis-tools/
  24. .asf.yaml
  25. .gitignore
  29. mvnw
  30. mvnw.cmd
  31. NOTICE
  32. pom.xml

Apache Ratis

Apache Ratis is a Java library that implements the Raft protocol [1], where an extended version of the Raft paper is available at The paper introduces Raft and states its motivations in following words:

Raft is a consensus algorithm for managing a replicated log. It produces a result equivalent to (multi-)Paxos, and it is as efficient as Paxos, but its structure is different from Paxos; this makes Raft more understandable than Paxos and also provides a better foundation for building practical systems.

Ratis aims to make Raft available as a java library that can be used by any system that needs to use a replicated log. It provides pluggability for state machine implementations to manage replicated states. It also provides pluggability for Raft log, rpc implementations and metric implementations to make it easy for integration with other projects. Another important goal is to support high throughput data ingest so that it can be used for more general data replication use cases.


  1. Diego Ongaro and John Ousterhout, In Search of an Understandable Consensus Algorithm, 2014 USENIX Annual Technical Conference (USENIX ATC 14) (Philadelphia, PA), USENIX Association, 2014, pp. 305-319.