Expand description
LIMLOG
High-performance log storage system for storing sequential messages and providing query functions, 64bit optimized.
Two log formats are available:
<start_uuid>.limlogand<start_uuid>.idxare used to store sequential messages.- TODO
Files Format
.limlog
- header
| Field | Size |
|---|---|
| magic_number | 8 bytes |
| attributes | 8 bytes |
- log
| Field | Size |
|---|---|
| uuid | 16 bytes |
| body_len (u64 LE) | 8 bytes |
| body | body_len bytes |
.idx
- header
| Field | Size |
|---|---|
| magic_number | 8 bytes |
| attributes | 8 bytes |
- index item
| Field | Size |
|---|---|
| uuid | 16 bytes |
| offset (u64 LE) | 8 bytes |
Modules
Structs
- A reader to read logs from a topic with [
Stream] interface. - Builds
Topicwith custom configuration values. - A writer to write logs to a topic.
Enums
- The Limlog error type.
Functions
- Try to decode from stream of bytes with bincode. Notice that this takes
&[u8]instead of&mut &[u8], so cursor won’t be updated. Instead, bytes read will be returned along with the deserialized value.
Type Definitions
- A specialized
Resulttype for Limlog.