← All projects
Project record1 mention
Originally shared on Hacker News

Raft consensus implementation in C++

A from-scratch implementation of the Raft consensus algorithm in C++ using raw TCP sockets. It includes a high-performance RPC client and server built to minimize network latency, and demonstrates event-driven I/O with epoll and event-loop architectures for asynchronous networking.

Last shared
01 / The problem

What it addresses

Built as a learning exercise to hone systems programming skills and get more comfortable with distributed systems.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Raft consensus implementation in C++

    A from-scratch implementation of the Raft consensus algorithm in C++ using raw TCP sockets. It includes a high-performance RPC client and server built to minimize network latency, and demonstrates event-driven I/O with epoll and event-loop architectures for asynchronous networking.

    Problem: Built as a learning exercise to hone systems programming skills and get more comfortable with distributed systems.

    Posted by @ayanmali · Original source ↗

    Source text · @ayanmali · · Source ↗

    I'm implementing Raft consensus from scratch in C++ with raw TCP sockets. Right now I'm working on a high-performance RPC client and server to keep network latency to a minimum.