Skip to content

v0.1.0

Latest

Choose a tag to compare

@hungpdn hungpdn released this 23 Feb 17:03

Features

  • πŸš€ High Performance: Buffered I/O, optimized locking strategies and non-blocking background sync.
  • πŸ›‘οΈ Data Integrity: CRC32 checksums (Castagnoli), append-only logic and automatic corruption repair on startup.
  • 🧡 Concurrency Safe: Thread-safe writers and readers using sync.RWMutex and atomic operations.
  • πŸ”„ Log Rotation: Automatic segment rotation based on configurable size.
  • πŸ’Ύ Flexible Sync Strategies: Choose between Performance (Background), Safety (Always), or Balance (OSCache).
  • πŸ” Iterator API: Memory-efficient sequential reading of logs.
  • ⚑ Optimized Startup: Uses reverse scanning to instantly recover the last segment state without reading the whole file.
  • 🧹 Retention Policies: Automatic cleanup based on TTL (Time-To-Live) or Total Size.