# Snapshot Compaction

> A technique for periodically storing a snapshot of state derived from a log, so readers replay only the events after it.

Record: `lexicon:snapshot-compaction`
Kind: technique
Layer: [Execution Core](https://banes-lab.com/records/layer/execution-core.md)
Canonical: https://banes-lab.com/ontology/lexicon#lexicon-snapshot-compaction

Listed in [Lexicon terms](https://banes-lab.com/api/records/lexicon.md), after [Offset Tracking](https://banes-lab.com/records/lexicon/offset-tracking.md) and before [Non-Replayable Processing](https://banes-lab.com/records/lexicon/non-replayable-processing.md).

## Category

- [Event Messaging Async](https://banes-lab.com/records/lexicon-category/event-messaging-async.md)

## Refactors

- [Append-Only Log](https://banes-lab.com/records/architecture/append-only-log.md)

## Linked from

- [Event / Messaging / Asynchronous Architecture](https://banes-lab.com/ontology/principles/architecture-category-event-messaging-asynchronous-architecture.md)
