Skip to content

fencing tokens #106

Description

@ORESoftware

do we need them like Redis does?

Key Points in the Addendum
Vercel KV (Upstash Redis, now sunset) never provided native fencing tokens — only raw SET NX, GET, DEL primitives
SyncGuard (Oct 2025) bolts fencing tokens onto single-node Redis via atomic INCR + Lua scripts — no Redlock needed
You can have fencing tokens without Redlock (single Redis INCR + cooperative storage) and Redlock without fencing tokens (quorum lock but no zombie protection) — they're orthogonal
The practical takeaway: fencing tokens on a single Redis node give you more correctness than Redlock on 5 nodes without fencing tokens

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions