Datasources(2)
-
CAP Theorem
Wikipedia says .. the CAP theorem, also named Brewer's theorem after computer scientist Eric Brewer, states that it is impossible for a distributed data store to simultaneously provide more than two out of the following three guarantees: Consistency: Every read receives the most recent write or an error Availability: Every request receives a (non-error) response, without the guarantee that it co..
2019.12.06 -
ElasticSearch index 적정 샤드 결정하기
배경 - 팀에서 storage 의 확장성을 위해 main data source 로 Cassandra 를 채택하였다. Cassandra 는 Scalable 하지만 multiple query pattern 을 수용하기에 적합하지 않다. 그래서 inverted index 로 ElasticSearch 를 채택하였다. 요즘 나오는 솔루션들을 볼때마다 생각하지만 인터페이스가 참 좋다. ES 역시도 REST API 로 ES 의 사용법을 익히고 사용하는 것은 아주 쉽다. 사용법을 충분히 숙지한 후 아래의 고민들이 스멀스멀 올라왔다. - 클러스터가 일시적으로 다운된다면 어떻게 recovery 할 것인가? - index 의 성능이 대고객 서비스를 제공하기에 충분히 빠르지 않는다면 어떻게 시스템 중단 없이 복구할 것인가? ..
2019.10.29