Foundations
Architecture
ATOMiK evaluates workloads where current state can be represented from a reference state plus meaningful deltas, with correctness checked before performance claims.
The fundamental equation
current_state = initial_state ⊕ accumulatorCommutativity
a ⊕ b = b ⊕ aDeltas can arrive in any order. No coordination needed between producers.
Associativity
(a ⊕ b) ⊕ c = a ⊕ (b ⊕ c)Deltas can be grouped and merged in any tree structure. Enables parallel reduction.
Self-inverse
a ⊕ a = 0Any delta applied twice cancels itself. This supports undo and duplicate-detection strategies, but transport-level replay handling still matters.
Identity
a ⊕ 0 = aAccumulating zero changes nothing. The accumulator starts empty and grows only with real deltas.
Operations
Set initial reference state
reference = value; accumulator = 0
XOR delta into accumulator
accumulator ^= delta
Reconstruct current state
return reference ^ accumulator
Atomic snapshot + reset
old = read(); reference = old; accumulator = 0; return old