TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: KanthorQ – Messaging System Backed by PostgreSQL

4 pointsby buglungtung6 months ago
It&#x27;s my pleasure to share my open-source project with the HN community:<p>KanthorQ - Messaging System Backed by PostgreSQL<p>Repo: <a href="https:&#x2F;&#x2F;github.com&#x2F;kanthorlabs&#x2F;kanthorq">https:&#x2F;&#x2F;github.com&#x2F;kanthorlabs&#x2F;kanthorq</a> Docs: <a href="https:&#x2F;&#x2F;docs.kanthorlabs.com&#x2F;kanthorq&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.kanthorlabs.com&#x2F;kanthorq&#x2F;</a><p>I designed, developed, and maintained it to address most of my use cases. Here are some key features:<p>- Transactional enqueuement: Helps avoid situations where you successfully enqueue a message, but your compute is lost, or the opposite scenario occurs.<p>- Message persistence: Messages are stored in the database indefinitely until explicitly deleted. This makes tracing, monitoring, and debugging much easier.<p>- Categorization by subjects: Simplifies message filtering and organization by subject.<p>If you&#x27;re familiar with NATS.io, you&#x27;ll find it easy to get started with KanthorQ. I was an avid user of NATS.io, and it inspired me greatly while designing KanthorQ.<p>Some example usecases<p>- Webhook gateway<p>- Batch jobs<p>- Notifications

1 comment

buglungtung6 months ago
The funny story behind KanthorQ is that it stemmed from a challenge I faced with another project: an open-source webhook gateway (<a href="https:&#x2F;&#x2F;github.com&#x2F;kanthorlabs&#x2F;kanthor">https:&#x2F;&#x2F;github.com&#x2F;kanthorlabs&#x2F;kanthor</a>). After completing that project and starting some benchmarks, I realized I was dealing with issues I had never encountered before.<p>When something went wrong, I had to scan through a list of events to identify the failed ones. However, doing that with traditional message brokers like NATS.io or RabbitMQ was challenging. I needed an additional layer to store the events and analyze the data. As a result, a simple system required two high-availability components to function properly.<p>Additionally, backup and restoration were not straightforward with traditional message brokers like NATS.io or RabbitMQ. It&#x27;s difficult to back up and restore these systems—or at least, I couldn&#x27;t find a reliable way to do it.<p>That&#x27;s why I developed KanthorQ. Now, I have a message broker where data is stored in a database, making it easy to browse, analyze, back up, and restore.