https://github.com/redsuperbat/nano-flow
Simplistic Append only log with grpc streaming
https://github.com/redsuperbat/nano-flow
Last synced: 3 months ago
JSON representation
Simplistic Append only log with grpc streaming
- Host: GitHub
- URL: https://github.com/redsuperbat/nano-flow
- Owner: redsuperbat
- Created: 2023-07-25T22:11:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-25T09:14:17.000Z (over 2 years ago)
- Last Synced: 2025-01-18T10:32:03.816Z (over 1 year ago)
- Language: Go
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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

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