backtrace-labs / stuffed-record-stream

Backtrace.io's resilient log record framing format

Home Page:https://www.backtrace.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

% record_stream: a resilient self-synchronising format for log records

Backtrace's log record framing format

We use this self-synchronising format to store key metadata for our server-side embedded crash database. Operationally, the format has proven itself resilient, flexible, and easy to tweak with ad hoc scripts. We are standardising on this format for persistent logs of variable-length records.

This blog post contains background and explains why you might to use such a format. There is also a copy of the post in doc/2021-01-11-stuff-your-logs.md.

We released the source under the MIT license, but the scheme is simple enough that mining the repository for ideas and coding an interface tuned to one's specific needs might also make sense.

About

Backtrace.io's resilient log record framing format

https://www.backtrace.io

License:MIT License


Languages

Language:C 98.8%Language:Makefile 1.2%