# High Availability

You can run one or more Typesense servers as read-only replicas that asynchronously pull data from a master Typesense server. This way, if your primary Typesense server fails, search requests can be sent to the replicas.

# Server configuration

To start Typesense as a read-only replica, pass the master Typesense server's address via the --master argument:



The master Typesense server maintains a replication log for 24 hours. If you are pointing the replica to a master instance that has been running for longer than 24 hours, you need to first stop the master, take a copy of the data directory and then then start the replica server by pointing to this backup data directory.

Last Updated: 6/15/2021, 4:16:29 AM