May 2024 Rustacean meetup

May 2024 Rustacean meetup

This will be an in person meetup, and we are happy to accept submissions for talks, if any.

Anyone interested in Rust is welcomed to join. While we will have no specific agenda, attendees can discuss, speak or ask about

  • Get help or clarification on any specific topic or question
  • Speak about a project or something you are working or looking to work on
  • Share any specific experience on using Rust in any of your projects
  • Discuss any book/topic/library/blog in Rust
  • Want to propose a reading group?
  • Anything Rust

Hosted by

A community of rust-lang contributors and end-users from Bangalore. We also have presence on the following telegram channels https://t.me/RustIndia https://t.me/keralars https://t.me/fpncr Twitter handle: https://twitter.com/rustlangin more

Uddeshya Singh

@uds5501

Monitoring sytems with Phi Accrual Detectors in Rust

Submitted May 2, 2024

whoami

I am Uddeshya Singh (X, Medium, LinkedIn), SDE-2 Backend at Gojek. I specialize in payments in my 9-5 and have been an avid distributed systems + database geek.

Abstract

In distributed systems, ensuring reliability and fault tolerance is of utmost concern. Traditional heartbeat failure detectors often fall short in accurately assessing the health of processes, especially in environments with transient failures or network partitions. This is where Phi Accrual Failure Detectors (φ-failure detectors) come into play, offering a more nuanced and adaptive approach to failure detection.

Rust is an amazing choice for distributed systems so I decided to try and build a crate for the same, which is pluggable directly into your raft / paxos / toy redis systems. The result? crates.io/phi-accrual-detector.

Top takeaways from the talk

What would the audience learn after this talk?

  • Building an intuition regarding why heartbeats might not be the best usecase always for failure detection.
  • What makes a failure detector amazing?
  • Comparing various detection algorithms and finally elaborating on φ-failure detectors.
  • Code walkthrough for implementation of the library and test run results.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

A community of rust-lang contributors and end-users from Bangalore. We also have presence on the following telegram channels https://t.me/RustIndia https://t.me/keralars https://t.me/fpncr Twitter handle: https://twitter.com/rustlangin more