摘要:
1. 基于某个字段 比如要处理一批数据,把 id 作为查询条件,500 条数据作为一个批次 工具类代码如下: public class DataLoopUtil { /** * 基于某个字段(比如 id, createTime 等), 循环处理数据 * P > Param * R > Result 阅读全文
摘要:
关于 CompletableFuture, 引用 baeldung 中的一句话: The best part of the CompletableFuture API is the ability to combine CompletableFuture instances in a chain o 阅读全文
摘要:
概览 Raft is a consensus algorithm for managing a replicated log:管理复制日志的一致性算法。 Consensus:[kənˈsensəs] 一致性,共识 In designing Raft we applied specific techn 阅读全文