append-only log

A data structure where new entries are only ever added at the end and existing entries are never changed in place.

In more detail

Event streaming platforms such as Kafka, database write-ahead logs and audit trails are all built on append-only logs. Because reading never removes anything, many readers can replay the same entries at their own pace, unlike a queue that deletes a message once it is taken. Old entries are usually removed only in bulk, by a retention or compaction policy.

Related terms

Taught in

References

Certification courses