Skip to content

Commit

Permalink
feat: redis Cluster ์ถ”๊ฐ€
Browse files Browse the repository at this point in the history
  • Loading branch information
GaBaljaintheroom committed Jan 4, 2024
1 parent 6bb704d commit 23c62a8
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 0 deletions.
13 changes: 13 additions & 0 deletions redis/redis1.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
port 7001

#cluster ์‚ฌ์šฉ ์—ฌ๋ถ€
cluster-enabled yes

#cluster ์„ค์ • ํŒŒ์ผ ์ด๋ฆ„
cluster-config-file node.conf

#timeout ์‹œ๊ฐ„ ์ง€์ • (ms)
cluster-node-timeout 5000

#failover๋œ redis node ์žฌ์‹คํ–‰ ์‹œ ์ด์ „ ๋ฐ์ดํ„ฐ๋ฅผ ๋‹ค์‹œ ๋กœ๋“œํ•ด์˜ฌ ์ˆ˜ ์žˆ์Œ
appendonly yes
13 changes: 13 additions & 0 deletions redis/redis2.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
port 7002

#cluster ์‚ฌ์šฉ ์—ฌ๋ถ€
cluster-enabled yes

#cluster ์„ค์ • ํŒŒ์ผ ์ด๋ฆ„
cluster-config-file node.conf

#timeout ์‹œ๊ฐ„ ์ง€์ • (ms)
cluster-node-timeout 5000

#failover๋œ redis node ์žฌ์‹คํ–‰ ์‹œ ์ด์ „ ๋ฐ์ดํ„ฐ๋ฅผ ๋‹ค์‹œ ๋กœ๋“œํ•ด์˜ฌ ์ˆ˜ ์žˆ์Œ
appendonly yes
13 changes: 13 additions & 0 deletions redis/redis3.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
port 7003

#cluster ์‚ฌ์šฉ ์—ฌ๋ถ€
cluster-enabled yes

#cluster ์„ค์ • ํŒŒ์ผ ์ด๋ฆ„
cluster-config-file node.conf

#timeout ์‹œ๊ฐ„ ์ง€์ • (ms)
cluster-node-timeout 5000

#failover๋œ redis node ์žฌ์‹คํ–‰ ์‹œ ์ด์ „ ๋ฐ์ดํ„ฐ๋ฅผ ๋‹ค์‹œ ๋กœ๋“œํ•ด์˜ฌ ์ˆ˜ ์žˆ์Œ
appendonly yes
13 changes: 13 additions & 0 deletions redis/redis4.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
port 7004

#cluster ์‚ฌ์šฉ ์—ฌ๋ถ€
cluster-enabled yes

#cluster ์„ค์ • ํŒŒ์ผ ์ด๋ฆ„
cluster-config-file node.conf

#timeout ์‹œ๊ฐ„ ์ง€์ • (ms)
cluster-node-timeout 5000

#failover๋œ redis node ์žฌ์‹คํ–‰ ์‹œ ์ด์ „ ๋ฐ์ดํ„ฐ๋ฅผ ๋‹ค์‹œ ๋กœ๋“œํ•ด์˜ฌ ์ˆ˜ ์žˆ์Œ
appendonly yes
13 changes: 13 additions & 0 deletions redis/redis5.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
port 7005

#cluster ์‚ฌ์šฉ ์—ฌ๋ถ€
cluster-enabled yes

#cluster ์„ค์ • ํŒŒ์ผ ์ด๋ฆ„
cluster-config-file node.conf

#timeout ์‹œ๊ฐ„ ์ง€์ • (ms)
cluster-node-timeout 5000

#failover๋œ redis node ์žฌ์‹คํ–‰ ์‹œ ์ด์ „ ๋ฐ์ดํ„ฐ๋ฅผ ๋‹ค์‹œ ๋กœ๋“œํ•ด์˜ฌ ์ˆ˜ ์žˆ์Œ
appendonly yes
13 changes: 13 additions & 0 deletions redis/redis6.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
port 7006

#cluster ์‚ฌ์šฉ ์—ฌ๋ถ€
cluster-enabled yes

#cluster ์„ค์ • ํŒŒ์ผ ์ด๋ฆ„
cluster-config-file node.conf

#timeout ์‹œ๊ฐ„ ์ง€์ • (ms)
cluster-node-timeout 5000

#failover๋œ redis node ์žฌ์‹คํ–‰ ์‹œ ์ด์ „ ๋ฐ์ดํ„ฐ๋ฅผ ๋‹ค์‹œ ๋กœ๋“œํ•ด์˜ฌ ์ˆ˜ ์žˆ์Œ
appendonly yes

0 comments on commit 23c62a8

Please sign in to comment.