rabbitmq / ra

A Raft implementation for Erlang and Elixir that strives to be efficient and make it easier to use multiple Raft clusters in a single system.
Other
813 stars 96 forks source link

Retire ra file handle #316

Closed kjnilsson closed 1 year ago

kjnilsson commented 1 year ago

As it adds fixed overhead to each disk IO operation and duplicates information that is better accessed by the operation system.

To compensate this adds a "bytes written" counter to the wal and segment writer processes respectively. This will allow of inspection of Ra component specific IO use to some degree.