<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: KARAN RAJ SURYA</title>
    <description>The latest articles on DEV Community by KARAN RAJ SURYA (@karan_rajsurya_1a4f4647a).</description>
    <link>https://dev.to/karan_rajsurya_1a4f4647a</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3579868%2Fddf2ac8d-958a-43e5-875f-dc0abf0506b4.png</url>
      <title>DEV Community: KARAN RAJ SURYA</title>
      <link>https://dev.to/karan_rajsurya_1a4f4647a</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/karan_rajsurya_1a4f4647a"/>
    <language>en</language>
    <item>
      <title>Stop adding Redis just for simple job queues: I built catqueue, a PostgreSQL-native job queue for Node &amp; TypeScript</title>
      <dc:creator>KARAN RAJ SURYA</dc:creator>
      <pubDate>Thu, 06 Aug 2026 18:14:40 +0000</pubDate>
      <link>https://dev.to/karan_rajsurya_1a4f4647a/stop-adding-redis-just-for-simple-job-queues-i-built-catqueue-a-postgresql-native-job-queue-for-5e5j</link>
      <guid>https://dev.to/karan_rajsurya_1a4f4647a/stop-adding-redis-just-for-simple-job-queues-i-built-catqueue-a-postgresql-native-job-queue-for-5e5j</guid>
      <description>&lt;p&gt;I built *&lt;em&gt;CatQueue *&lt;/em&gt;-- a lightweight, Redis-free, PostgreSQL-native job queue for Node.js and TypeScript. If you already run Postgres, you don't need to manage a separate Redis cluster just to run background jobs.&lt;/p&gt;

&lt;p&gt;Key Highlights:&lt;/p&gt;

&lt;p&gt;Atomic &amp;amp; Multi-Worker Safe: Powered by SELECT FOR UPDATE SKIP LOCKED (zero race conditions).&lt;/p&gt;

&lt;p&gt;Fast Enqueuing: UNNEST bulk inserts cut enqueue latency by ~85%.&lt;/p&gt;

&lt;p&gt;Built-In DAGs: Native job dependency graphs with cycle detection via Kahn's algorithm.&lt;/p&gt;

&lt;p&gt;Crash Proof: 30s visibility timeouts for worker crashes, exponential retries, DLQ replay, and auto-purging cron jobs.&lt;/p&gt;

&lt;p&gt;Performance: Matched with BullMQ on DB write-heavy workloads without the extra Redis overhead.&lt;/p&gt;

&lt;p&gt;Check it out:&lt;/p&gt;

&lt;p&gt;NPM: npmjs.com/package/catqueue&lt;/p&gt;

&lt;p&gt;GitHub: github.com/karanrajsurya/CatQueue_npm_package&lt;/p&gt;

&lt;p&gt;Would love your feedback on the locking mechanics, or drop a star ⭐ if you find it useful!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>typescript</category>
      <category>postgres</category>
      <category>backenddevelopment</category>
    </item>
  </channel>
</rss>
