Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis explained with RAID #54

Open
colin-higgins opened this issue Feb 19, 2019 · 0 comments
Open

Redis explained with RAID #54

colin-higgins opened this issue Feb 19, 2019 · 0 comments
Labels

Comments

@colin-higgins
Copy link
Owner

Things to start with:
Usually you want a few a master and a few slaves. Slaves are used for the reads pretty much, master is used for the writes IIRC.
Make sure you set the threads available reasonably per instance.

Redis in cluster mode is composed of multiple shards. Each shard has a primary node and some number of replica nodes. What this is configuring is how many replicas you have per cluster (for fast reads from the replicas as well as intra-cluster data retention), and the number of clusters (and multi-az by default) provide multiple geographically distinct clusters in the case of single-az failures.

Basically think raid0=shard and raid1=replica. For your scale you shouldn’t need shards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant