OnionBalance is the foundation of our high-availability Tor hosting. It allows multiple backend servers to share a single .onion address, distributing incoming Tor connections across the server pool. To visitors, your service appears as a single hidden service, but behind the scenes, multiple independent servers handle requests, providing both load distribution and fault tolerance.
Our standard HA configuration uses three backend servers in two data centers. Each backend runs an independent instance of your application, database replica, and Tor process. OnionBalance publishes descriptors for all backends, and Tor's routing layer distributes connections among them. If any backend becomes unavailable, connections automatically route to healthy backends with no user-visible interruption.
For the highest availability requirements, we deploy five or more backends across three or more data centers in different countries. This configuration withstands the loss of an entire data center - whether from hardware failure, network outage, natural disaster, or legal action - while maintaining uninterrupted service for your visitors.