Skip to content

Releases: sunvim/mq

v1.0.0

23 Mar 08:50

Choose a tag to compare

  • Memory-Mapped Files: Efficient storage and retrieval of messages using memory-mapped files (mmap).-
  • Multi-Producer, Multi-Consumer: Supports multiple producers and consumers simultaneously, ensuring thread safety and data integrity.
  • Message Order: Guarantees that messages are consumed in the order they are produced.
  • No Message Loss: Messages are persistently stored, ensuring no data loss even in case of service restarts.
  • Control Message Consumption Rate: Supports limiting message consumption speed (e.g., 30 messages per second).
  • Service Restart Handling: Automatically resumes from the last unconsumed message after service restarts. Also supports the option to re-consume messages from the beginning.
  • New File Detection: The library detects when the file is newly created and initializes offsets and metadata accordingly.