# High availability with nats-streaming-server (clustering)

DevFeed: [High availability with nats-streaming-server (clustering)](<https://devfeed.tech/articles/high-availability-with-nats-streaming-server-clustering-37814.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/nats-streaming-server-cluster/>)

Author: Carlos Alexandro Becker

Published: 2019-05-16T00:00:00Z

Content type: tutorial

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [Streaming](<https://devfeed.tech/topics/streaming.md>), [clustering](<https://devfeed.tech/topics/clustering.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Raft](<https://devfeed.tech/topics/raft.md>)

Tags: [clustering](<https://devfeed.tech/tags/clustering.md>), [fault-tolerance](<https://devfeed.tech/tags/fault-tolerance.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [leader-election](<https://devfeed.tech/tags/leader-election.md>), [raft](<https://devfeed.tech/tags/raft.md>), [streaming](<https://devfeed.tech/tags/streaming.md>)

## AI overview

A practical guide to configuring a high-availability nats-streaming-server cluster. It compares fault-tolerance and clustering approaches, then demonstrates clustering NATS and nats-streaming-server with three nodes, RAFT leader election, replicated writes, and peer configuration.

## Source excerpt

I wanted to set up a high available nats-streaming-server cluster, but couldn't find a "quick" guide on how to do it.