Replication 4

redis 2부 - replication ...

지난 게시물인 redis 1부 - 설치에서는 stand alone으로 동작하도록 redis를 구성하였다. 이렇게 stand alone으로 구성할 경우, failover 상황에 대한 대비가 전혀 되지 않는 문제점을 가지게 된다. 이런 상황에 대비하기 위해, redis를 replication으로 구성해 보겠다. redis도 DB의 일종이고, 대부분의 open source DB와 마찬가지로 replication을 지원한다. 1. 전체 구성 일단, sample로 만들어볼 목표 시스템은 아래와 같이 구성할 것이다. 이 예제에서는, 4대의 Machine에 Master 1개, Slave 3개, Sentinel 3개로 구성해 보겠다. 2. 개념 위 그림에서 보이는 몇 가지 새로운 개념에 대해 알아보자. Master r..

redis 2019.04.08

2017.08.10 - 번역 - Sequence IDs: Coming Soon to an Elasticsearch Cluster Near You ...

What If..."What if" questions are fun. "What if you had a time machine: when would you visit?" "What if you had one wish and it would come true: what would it be?" They're the types of hypothetical questions you can ask at a dinner party and get insights about what interests and motives somebody has if barriers were broken down. A few years ago at Elastic, we asked ourselves a "what if" that we ..

Blog 2019.01.07

v2.0-05. CRUD and routing changes

Explicit custom routingeditCustom routing values can no longer be extracted from the document body, but must be specified explicitly as part of the query string, or in the metadata line in the bulk API. See Type meta-fields for an example.사용자 정의 routing value는 더 이상 document body에서 추출할 수 없다. query string의 일부 또는 bulk API에서 metadata line에 명시적으로 지정하해야 한다. Type meta-fields에서 예제를 볼 수 있다.Routing hash f..

1-04-5. Partial Updates to a Document

The update API , as shown in Figure 11, “document의 부분적 업데이트”, combines the read and write patterns explained previously.Figure 11, “document의 부분적 업데이트”에서 보듯이, update API는 위에서 설명한 읽기와 쓰기 형태의 의 조합이다.Figure 11. document의 부분적 업데이트 Here is the sequence of steps used to perform a partial update on a document:document의 부분적인 업데이트를 수행하는데 사용되는 일련의 과정을 나열하였다.The client sends an update request to Node 1.클라이..