질문&답변
synchronized 쓰지 않는 이유는 해당 서버가 스케일 아웃(분산처리 하기 위해) 경우 동시성을 보장 못 하기 때문이라고 해주셨는데요
Redis에서 명령/요청등을 처리하는 스레드는 한개인것으로 알고있습니다. 읽기 성능 확장을 위한 복제(Replication)와 쓰기 성능 향상을 위한 샤딩(Sharding)을 하더라도 명령/요청처리는 마스터의 한 스레드만 담당하는것으로 알고있는데요. 그래서 레디스를 스케일아웃으로 확장하더라도 동시성 보장이 되는것으로 보입니다. 내용에 틀린부분이 있다면 댓글 부탁드립니다. --- Reddison Readme Features (https://github.com/redisson/redisson/) Redis Replicated setup (also compatible with AWS ElastiCache and Azure Redis Cache) Redis Cluster setup (also compatible with AWS ElastiCache Cluster, Amazon MemoryDB and Azure Redis Cache) Redis Sentinel setup Redis with Master with Slave only --- https://djlee118.tistory.com/111 https://akasai.tistory.com/23
- 좋아요수
- 0
- 댓글수
- 2
- 조회수
- 766





