drdr.xp (@drmingdrmer) header
drdr.xp (@drmingdrmer) profile picture

要了几天饱饭就不记得西北风啥味了

39.971217,116.32438
Joined June 2007
Photo by drdr.xp (@drmingdrmer)Photo by drdr.xp (@drmingdrmer)Photo by drdr.xp (@drmingdrmer)Photo by drdr.xp (@drmingdrmer)Photo by drdr.xp (@drmingdrmer)Photo by drdr.xp (@drmingdrmer)Photo by drdr.xp (@drmingdrmer)Photo by drdr.xp (@drmingdrmer)Photo by drdr.xp (@drmingdrmer)Photo by drdr.xp (@drmingdrmer)
Thanks to the LLM that pushes me everyday🤨
3
397
Openraft v0.10.1 is out! • 14% less CPU for idle Raft groups. Deadline-driven elections and heartbeats replace the periodic ticker. The benchmark ran 5,000 three-member groups in one process. • 32% higher write throughput and 23% lower median write latency. The state-machine worker reads the next batch while applying the current one. Measured with 256 clients and simulated storage delays. • 25% lower p99 read latency. Opt-in relaxed leader reads wait for the leader’s no-op to apply rather than the full committed tail. Measured against standard local lease reads in a mixed workload with an apply backlog. Release notes: github.com/databendlabs/open…
1
10
875
卷起来
github.com/fast/bases 做了一个新的基础库,以及刷了一批新的 Good First Issues
391
A relaxed read waits only for a lower bound: the no-op entry the leader wrote when it was elected. That entry is almost always applied already, so a relaxed read almost never waits, and it is still linearizable.
12
1,125
OpenRaft 0.10.0 is released. OpenRaft 0.10 makes most of its types pluggable, moves optional parts into separate crates, and adds configurable quorum rules, pipelined replication, Pre-Vote, leadership transfer and faster linearizable reads. It also fixes several safety bugs. What's new: • Configurable types: RaftTypeConfig selects the term, leader id, vote, payload, membership, error source and client-write responder. • Quorum rules: a membership type defines separate read and write quorums and per-node roles. The new openraft-membership crate provides threshold, weighted, grid, hierarchical and explicit memberships. A membership change writes one log entry when the old and new quorums intersect. • Replication: the leader pipelines AppendEntries through RaftNetworkV2::stream_append(). Followers send conflict hints that shorten log matching, and consecutive appends merge into one storage write. • Elections: optional Pre-Vote stops partitioned nodes from inflating the term, and Trigger::transfer_leader() hands leadership to a chosen node. • Linearizable reads: each read chooses its own policy, one heartbeat round answers every waiting read, and lease reads skip the RaftCore round trip. • New crates: runtimes for tokio, compio, monoio and deterministic simulation; openraft-multi shares connections across Raft groups; openraft-metrics-otel exports OpenTelemetry metrics; openraft-legacy keeps the v1 network API. • Safety fixes: a restarted leader no longer reuses log ids for different entries, a leader commits a blank entry of its own term before it changes membership, and a restarted follower keeps its vote lease, so a lease read on the old leader cannot miss a committed write. Upgrading from 0.9 requires code changes, and the upgrade guide covers each one. With the default types, data stored by 0.9 needs no migration. OpenRaft 0.10 needs Rust 1.88 or later. The 0.9 branch keeps receiving bug fixes until 0.11 development starts. Thanks to all the contributors to OpenRaft. Release notes: github.com/databendlabs/open… Upgrade guide: docs.rs/openraft/0.10.0/open…
11
555
OpenRaft v0.10.0-alpha.38 is out: • Custom quorums: weighted, hierarchical, grid & more • Single-entry membership changes when every old quorum intersects every new quorum • Local lease reads skip the RaftCore round trip Breaking APIs; upgrade notes: github.com/databendlabs/open…
6
390
OpenRaft now lets an application define its membership. A 4-node cluster elects with 3 votes and commits after 2 copies. Built-in types cover node count, weight, sites, and grids. You can also define your own. blog.openacid.com/distribute…
6
417
我在b站看<<迫在眉梢>>, 发现这部片子里把所有女生胸都打了码...真想骂人
6
1
4
8
13,682
问了下豆包具体金额, 发现我死了之后可以产生每月900元的收益.
3
1
777
A minor optimization for single step Raft config change: github.com/drmingdrmer/conse…
2
7
683
OpenRaft now skips joint consensus when every old quorum intersects every new quorum blog.openacid.com/distribute…
2
12
850
I think the best use of AI is reducing work entropy, across docs, codebases and writing. In other word: make it short. Condense the content so information stays easy to grasp
1
1
475
The 2nd step of Raft’s joint config change `c01 → c1` does not require the leader’s first log to be committed(single step change requires it, 1st step of joint doesn't) — unless bidirectional transitions are permitted, meaning both `c01 → c0` and `c01 → c1` are allowed.
1
305
给大模型留了个作业,考虑 Raft 里 config change 从 c01 变 c0 安全不安全,然后那我就先睡了
1
3
488
In Raft, read and write quorums can result in split brain, where two leaders exist for the same term. Fix 1: read quorums intersect each other too (4 nodes: 3 elect, 2 commit). Fix 2: leader id (term, node_id) is a total order. github.com/drmingdrmer/conse…
2
11
688