Back to services

Robust IRC

RobustIRC is IRC without netsplits. Distributed IRC server, based on RobustSession protocol.

View alternatives to Robust IRC
Suggest edit
Open source
Self-hostable
BSD-3-Clause
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: We were unable to fetch content from the official website this time, so the following is compiled from what is already known about the project. For specifics, please refer to robustirc.net and the project's code repository.

Introduction

RobustIRC is an IRC server implementation designed for high-availability scenarios, with the goal of eliminating netsplits. A traditional IRC network is made up of multiple servers linked together in a tree structure, and when a link breaks, the network splits: users see large numbers of people drop offline and then come back online. RobustIRC instead uses the Raft consensus algorithm to replicate the same state across multiple nodes. As long as a majority of nodes are still online, the whole network keeps working normally, and users are not disconnected because of individual server failures.

Key Features

  • No netsplits: All nodes maintain the same state through Raft consensus.
  • Fault tolerance: The service keeps running when a minority of nodes go down or restart.
  • Uninterrupted client sessions: A session between a client and the network does not depend on a single TCP connection, so switching server nodes or a brief network interruption won't cause a disconnect.
  • Compatible with existing IRC clients: A bridge program (robustirc-bridge) translates the standard IRC protocol into the RobustIRC protocol, so common IRC clients can connect.
  • HTTP-based client protocol: Clients and servers communicate over HTTP(S), which makes it easier to get through firewalls and proxies.

Target Users and Use Cases

  • Communities and open-source projects that want to run a stable IRC network
  • Teams with high availability requirements for their chat service
  • Users with unreliable network conditions, such as mobile networks or laptops that frequently switch networks
  • Developers interested in distributed consensus systems

Deployment

RobustIRC is written in Go and released as open source.

  • Server side: Deploy RobustIRC nodes on multiple machines to form a Raft cluster. An odd number of nodes (for example 3 or 5) is recommended so that the cluster can tolerate the failure of a minority of nodes.
  • Client side: Run robustirc-bridge locally or on a server, then connect a regular IRC client to the bridge to access the RobustIRC network.

Technical Requirements

  • A Go runtime or precompiled binaries
  • At least three nodes to achieve genuine fault tolerance
  • Network connectivity between nodes, with TLS configured

Notable Characteristics

  • It is a practical example of applying Raft consensus to a chat system, and its design approach differs markedly from traditional IRCds.
  • Regular IRC clients must connect through the bridge program. The deployment architecture has one more layer than a traditional IRC server, making it suitable for scenarios where reliability matters more.