redsuperbat / nano-flow

Simplistic Append only log with grpc streaming

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nano Flow

Tiny append only database used for event driven applications. Uses Grpc to produce messages and subscribe to messages via ephemeral consumer groups.

Message Storage Protocol

nano-flow-file-protocol

2 bytes

Version Nr as a unsigned 16 bit integer

4 bytes

Message content length as a unsigned 32 bit integer

8 bytes

Timestamp of message as a signed 64 bit integer

4 bytes

CRC32 checksum as a 32 bit unsigned integer. Checksum includes the header and body

19-X bytes

Message body defined by the content length in header

About

Simplistic Append only log with grpc streaming


Languages

Language:Go 75.3%Language:HCL 21.4%Language:Dockerfile 3.3%