Document options for load balancing / best practices for connecting to a cluster
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 118
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
@timjrobinson wrote in https://github.com/rethinkdb/rethinkdb/issues/2956:
I can't find any documentation on how to properly run a cluster of 2+ nodes with rethinkdb. Should I just set them up and make clients connect to the first server? Or should I use a loadbalancer such as HAProxy or nginx in front of the cluster and go through that? If I should be using a loadbalancer what settings should I be specifying for maximum performance?
It would be good to have a doc that explains even the basics of how this should be setup. If you could point me to any docs related to this it would be much appreciated.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked issue #2956 and any existing documentation about clusters and client connections. Document the recommended setup for 2+ nodes, including whether clients should connect to one server or use HAProxy/nginx and which load-balancer settings support performance. Done means the basic setup and connection guidance is available in the documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nginx
- Domain
- distributed-systems, documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100