marzullo

Crates.iomarzullo
lib.rsmarzullo
version0.1.0
sourcesrc
created_at2024-01-30 15:53:15.140308
updated_at2024-01-30 15:53:15.140308
descriptionMarzullo's algorithm
homepagehttps://github.com/ahmedtadde/marzullo-rs/
repositoryhttps://github.com/ahmedtadde/marzullo-rs/
max_upload_size
id1120386
size18,808
Ahmed Tadde (ahmedtadde)

documentation

README

marzullo

A Rust implementation of the Marzullo algorithm

License: MIT CI crates.io docs.rs

Description

Marzullo's algorithm, invented by Keith Marzullo for his Ph.D. dissertation in 1984, is an agreement algorithm used to select sources for estimating accurate time from a number of noisy time sources. NTP uses a modified form of this called the Intersection algorithm, which returns a larger interval for further statistical sampling. However, here we want the smallest interval. Here is a more detailed description of the algorithm

Credits

This is a port of the TigerBeetle implementation done mainly by Joran Dirk Greef and King Protty.

License

Licensed under either of

Contribution

  • Contributions are welcome! 🙏
  • Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Commit count: 0

cargo fmt