摘要:
通常我们说 es 是近实时的搜索服务,指的是 es 写入一条数据后,默认 1 s 后才可以搜索到,但我们在实际使用过程中指定 id 可以进行实时的查询。客户端使用 GetRequest 发起的查询默认是实时的,分片会从 translog 中读取数据并返回,为什么通过 id 查询就是实时的呢? es 阅读全文
摘要:
本文分析一下 es 写入文档,并同步到副本的一个过程,先阅读官方文档:https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-replication.html Every indexing operation in E 阅读全文
摘要:
先看一段 kubernetes scheduler 的描述: The Kubernetes scheduler is a control plane process which assigns Pods to Nodes. The scheduler determines which Nodes a 阅读全文