event stream
A continuous, time-ordered flow of events with no fixed beginning or end.
In more detail
Factor XI of the twelve-factor app: treat logs as event streams. Each process writes its stream to standard output, and the app never concerns itself with routing or storage. Collection, rotation and archiving are the execution environment’s job.
Related terms
- log — A time-stamped record of an individual event in a system, such as one request being handled; structured logs record it as named fields rather than free text.
- standard output and standard error — The two channels a program writes normal output (stdout) and error messages (stderr) to, plus stdin for input.
- unbuffered output — Output that is written out immediately, instead of being held in memory until a buffer fills.
- log rotation — Capping log files by size or count so old lines are deleted before they fill the disk.
Taught in
- Disposability, Dev Prod Parity And Logs — DevOps & Site Reliability Engineering