聊聊Elasticsearch RestClient的DeadHostState

2019-05-17
阅读 10 分钟
1.8k
elasticsearch-7.0.1/client/rest/src/main/java/org/elasticsearch/client/DeadHostState.java

聊聊Elasticsearch RestClient的RequestLogger

2019-05-16
阅读 10 分钟
2.1k
elasticsearch-7.0.1/client/rest/src/main/java/org/elasticsearch/client/RequestLogger.java

聊聊Elasticsearch RestClient的NodeSelector

2019-05-15
阅读 6 分钟
2k
elasticsearch-7.0.1/client/rest/src/main/java/org/elasticsearch/client/NodeSelector.java

聊聊elasticsearch的RoutingService

2019-05-14
阅读 6 分钟
2.1k
elasticsearch-7.0.1/server/src/main/java/org/elasticsearch/cluster/routing/RoutingService.java

聊聊elasticsearch的LagDetector

2019-05-13
阅读 10 分钟
1.6k
elasticsearch-7.0.1/server/src/main/java/org/elasticsearch/cluster/coordination/LagDetector.java

聊聊elasticsearch的ElectMasterService

2019-05-12
阅读 11 分钟
1.8k
elasticsearch-7.0.1/server/src/main/java/org/elasticsearch/discovery/zen/ElectMasterService.java

聊聊elasticsearch的MasterFaultDetection

2019-05-11
阅读 30 分钟
1.7k
elasticsearch-7.0.1/server/src/main/java/org/elasticsearch/discovery/zen/FaultDetection.java

聊聊elasticsearch的NodesFaultDetection

2019-05-10
阅读 18 分钟
1.9k
elasticsearch-0.90.0/src/main/java/org/elasticsearch/discovery/zen/fd/NodesFaultDetection.java

聊聊Election Algorithms

2019-05-09
阅读 5 分钟
2.2k
Election Algorithms大致有两类,一类是Garcia-Molina提出的Bully Election,一类是Chang & Roberts's Token Ring Election algorithm;对于大多数的election algorithms通常有如下几个假定:

聊聊CRDT

2019-05-08
阅读 16 分钟
4.4k
CRDT是Conflict-free Replicated Data Type的简称,也称为a passive synchronisation,即免冲突的可复制的数据类型,这种数据类型可以用于数据跨网络复制并且可以自动解决冲突达到一致,非常适合使用AP架构的系统在各个partition之间复制数据时使用;具体实现上可以分为State-based的CvRDT、Operation-based的CmRDT、Del...

聊聊scalecube-cluster的MembershipProtocol

2019-05-07
阅读 22 分钟
2.4k
scalecube-cluster-2.2.5/cluster/src/main/java/io/scalecube/cluster/membership/MembershipProtocol.java

聊聊scalecube-cluster的GossipProtocol

2019-05-06
阅读 10 分钟
2.5k
scalecube-cluster-2.2.5/cluster/src/main/java/io/scalecube/cluster/gossip/GossipProtocol.java

聊聊scalecube-cluster的FailureDetector

2019-05-05
阅读 14 分钟
2k
scalecube-cluster-2.2.5/cluster/src/main/java/io/scalecube/cluster/fdetector/FailureDetector.java

聊聊apache gossip的ActiveGossiper

2019-05-04
阅读 26 分钟
2k
incubator-retired-gossip/gossip-base/src/main/java/org/apache/gossip/manager/AbstractActiveGossiper.java

聊聊apache gossip的FailureDetector

2019-05-03
阅读 3 分钟
2.2k
incubator-retired-gossip/gossip-base/src/main/java/org/apache/gossip/accrual/FailureDetector.java

聊聊SWIM Protocol

2019-05-02
阅读 3 分钟
2.7k
SWIM的全称是Scalable, Weakly-Consistent, Infection-Style, Processes Group Membership Protocol

聊聊Cassandra的FailureDetector

2019-05-01
阅读 20 分钟
3.3k
cassandra-3.11.4/src/java/org/apache/cassandra/gms/IFailureDetector.java

聊聊hazelcast的PhiAccrualFailureDetector

2019-04-30
阅读 11 分钟
2.2k
hazelcast-3.12-sources.jar!/com/hazelcast/internal/cluster/fd/FailureDetector.java

聊聊elasticsearch的PeerFinder

2019-04-29
阅读 21 分钟
1.7k
elasticsearch-7.0.0/server/src/main/java/org/elasticsearch/discovery/PeersRequest.java

聊聊elasticsearch的ZenPing

2019-04-28
阅读 25 分钟
2k
elasticsearch-7.0.0/server/src/main/java/org/elasticsearch/discovery/zen/ZenPing.java

聊聊elasticsearch的SeedHostsProvider

2019-04-27
阅读 9 分钟
2.5k
elasticsearch-7.0.0/server/src/main/java/org/elasticsearch/discovery/SeedHostsProvider.java

聊聊elasticsearch的SeedHostsResolver

2019-04-26
阅读 10 分钟
1.9k
elasticsearch-7.0.0/server/src/main/java/org/elasticsearch/discovery/PeerFinder.java

聊聊elasticsearch的MembershipAction

2019-04-25
阅读 30 分钟
1.7k
elasticsearch-6.7.1/server/src/main/java/org/elasticsearch/discovery/zen/MembershipAction.java

聊聊hibernate的session-level repeatable reads

2019-04-24
阅读 20 分钟
2.2k
这段代码展示了hibernate的session-level repeatable reads功能,这里reloadedProduct查询返回的是session中id为1的entity的缓存(但是也向db发出了sql语句,只是没有使用其返回的resultSet的值),而project操作查询则直接根据jdbc查询返回的结果返回

聊聊flink jdbc的ParameterValuesProvider

2019-04-23
阅读 26 分钟
2.8k
flink-jdbc_2.11-1.8.0-sources.jar!/org/apache/flink/api/java/io/jdbc/split/ParameterValuesProvider.java

聊聊jest的IdleConnectionReaper

2019-04-22
阅读 4 分钟
2k
jest-common-6.3.1-sources.jar!/io/searchbox/client/config/idle/IdleConnectionReaper.java

聊聊jest的NodeChecker

2019-04-21
阅读 13 分钟
1.8k
jest-common-6.3.1-sources.jar!/io/searchbox/client/config/discovery/NodeChecker.java

聊聊springboot jest autoconfigure

2019-04-20
阅读 7 分钟
3.1k
spring-boot-autoconfigure-2.1.4.RELEASE-sources.jar!/org/springframework/boot/autoconfigure/elasticsearch/jest/JestProperties.java

聊聊elasticsearch的TransportProxyClient

2019-04-19
阅读 28 分钟
2.1k
elasticsearch-6.4.3-sources.jar!/org/elasticsearch/client/transport/TransportProxyClient.java

聊聊springboot elasticsearch healthIndicator

2019-04-18
阅读 12 分钟
3.4k
spring-boot-actuator-autoconfigure-2.1.4.RELEASE-sources.jar!/org/springframework/boot/actuate/autoconfigure/elasticsearch/ElasticsearchHealthIndicatorProperties.java