[KongchangAI]
ConceptLease / 分布式租约 / Fencing Token

Lease Mechanism

A task ownership management mechanism in distributed systems whereby a worker process holds a task by acquiring a time-limited lease, which must be renewed via continuous heartbeats. Upon expiration, the task is transferred to another process. Fencing Tokens are used alongside leases to prevent stale writes in split-brain scenarios.

Timeline (last 90 days)

Oct 12

租约机制在分布式系统中不会无限期持有锁:持有者必须在约定时间内主动续约,否则锁自动过期释放。

Unverified50%
Sep 23

Setting the lease too long results in slow failure recovery, while setting it too short increases the risk of false positives, and the two are difficult to reconcile.

Unverified50%
Sep 23

For scenarios such as email sending, even physical clocks calibrated with NTP cannot completely eliminate judgment errors caused by clock drift, which represents the theoretical upper limit of lease mechanisms.

Unverified50%

All Facts (3)

Source Articles