[Redis] Redis Master-Slave 사용하기 (Sentinel, HAProxy)
What is Redis Master-slave? Redis Master-slave는 Redis에서 제공하는 가장 기본적인 Replication 기법입니다. Redis Master-Slave 구성시 위와 같은 구조를 가지는데 이는 MySQL의 Master-slave Replication 기법과 유사한 점이 많습니다. 하나의 master에 다수의 slave가 붙을 수 있습니다. Master는 Read-Write mode로 동작합니다. Slave는 Read-Only mode로 동작합니다. 따라서, Client는 필요에 따라 Master에 붙어 Write 동작을 수행하거나 Master 혹은 Slave에 붙어 Read 동작을 수행할 수 있습니다. Master-slave Replication Process Mas..
2019.09.11