# Hybrid Logical Clocks

Record: `arch:hybrid-logical-clocks`
Kind: mechanism
Layer: [Causality Core](https://banes-lab.com/records/layer/causality-core.md)
Severity: mandatory for distributed systems
Scope: event, distributed state, time
Canonical: https://banes-lab.com/ontology#arch-hybrid-logical-clocks

## Repair

- Refactored by: Adopt Hybrid Logical Clocks
- Detected by: last-writer-wins on physical time
- Violated by: ordering events solely by wall-clock timestamps
- Measured by: out-of-causal-order event rate
- Enforced by: distributed-systems review

## requires

- [Happens-Before Relationship](https://banes-lab.com/records/arch/happens-before-relationship.md)

## reinforces

- [Causal Consistency](https://banes-lab.com/records/arch/causal-consistency.md)
- [Event Ordering](https://banes-lab.com/records/arch/event-ordering.md)

## enables

- [Wall-Clock-Correlated Causal Order](https://banes-lab.com/records/lex/wall-clock-correlated-causal-order.md)

## conflicts-with

- [Physical-Clock-Only Ordering](https://banes-lab.com/records/lex/physical-clock-only-ordering.md)

## tensions-with

- [Clock Skew](https://banes-lab.com/records/lex/clock-skew.md)

## tensions

- [Hybrid Logical Clocks Clock Skew](https://banes-lab.com/records/tension/clock-skew-hybrid-logical-clocks.md)
