BlockQueue: SQLite-powered pub/sub for lean, fast messaging
Block Queue is a lightweight, cost-effective messaging system using a pub/sub mechanism, built on SQLite3 and NutsDB, supporting Turso Database and PostgreSQL, with high performance and open-source availability.
Read original articleBlock Queue is a lightweight and cost-effective queue messaging system that utilizes a publish/subscribe mechanism, designed for simplicity and low resource usage compared to more complex systems like Kafka, Redis, or SQS. It is built on SQLite3 and NutsDB, and now supports the Turso Database and PostgreSQL. Key features include its cost-effectiveness, a pub/sub mechanism for easy communication and real-time updates, and minimized network latency to enhance performance. Installation can be done via binary or by using the Go command `go get -u github.com/yudhasubki/blockqueue`. Users can create topics and manage subscribers through HTTP requests, and messages can be published and read via specific API endpoints. The architecture supports publishers, consumers, and failed delivery handling, with performance benchmarks showing the capability to process tens of thousands of messages per second. Future developments in the roadmap include support for TCP, additional SDKs, and performance testing. Block Queue is open-sourced under the Apache 2.0 license, and further information can be found on its GitHub repository.