TLQ (Tiny Little Queue)
A minimal message queue that just works.
Quick Start
Install
# Using Cargo
# Using Docker
# Docker with custom configuration
Use
# Add a message
# Get a message (auto-locks it)
# Delete after success
# Or retry after failure
Features
- In-memory - Zero persistence overhead
- Simple API - Just add, get, delete, retry
- Auto-locking - Messages lock on retrieval
- Client libraries - Rust, Node.js, Python, Go
Configuration
You can configure TLQ via environment variables (all optional; defaults shown):
- TLQ_PORT: TCP port to listen on. Default: 1337
- TLQ_MAX_MESSAGE_SIZE: Maximum message body size in bytes. Default: 65536
- TLQ_LOG_LEVEL: Log verbosity (trace, debug, info, warn, error). Default: info
Examples:
TLQ_PORT=8080
TLQ_MAX_MESSAGE_SIZE=1048576 TLQ_LOG_LEVEL=debug
Why TLQ?
Perfect for:
- Development & testing
- Lightweight job processing
- Microservice communication
- Any scenario where persistence isn't critical
License
MIT
Author
Nebojsa Jakovljevic