<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Queues on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/queues/</link><description>Recent content in Queues on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 20 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/queues/index.xml" rel="self" type="application/rss+xml"/><item><title>Service-to-Service Communication: Synchronous vs. Asynchronous</title><link>https://ai-blog.noorshomelab.dev/systems-engineering-2026/service-communication-sync-async/</link><pubDate>Fri, 15 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/systems-engineering-2026/service-communication-sync-async/</guid><description>&lt;p&gt;Welcome back, aspiring systems architect! In the previous chapter, we explored how a reverse proxy acts as the intelligent front door to our services. Now, let&amp;rsquo;s venture deeper into the heart of distributed systems: &lt;strong&gt;how services talk to each other&lt;/strong&gt;. Just like people communicate in different ways – a quick chat versus sending a detailed email – services also have distinct communication styles. Choosing the right one is fundamental to building scalable, resilient, and performant applications, especially as we integrate advanced AI agent workflows.&lt;/p&gt;</description></item><item><title>Building Robust Workflows: Queues, Scheduling, and Long-Running Processes</title><link>https://ai-blog.noorshomelab.dev/triggerdev-v4-guide-2026/robust-workflows-queues-scheduling-long-running/</link><pubDate>Wed, 20 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/triggerdev-v4-guide-2026/robust-workflows-queues-scheduling-long-running/</guid><description>&lt;p&gt;In the world of modern applications, especially those involving AI agents or complex data processing, tasks often need to run reliably in the background, at specific times, or endure for extended periods without interruption. Imagine sending out millions of personalized emails, generating daily reports, or orchestrating a multi-step AI inference process. How do you ensure these operations complete successfully, even if your server crashes or an external API temporarily fails?&lt;/p&gt;</description></item><item><title>Worker Architectures: Designing for Background Processing and Scalability</title><link>https://ai-blog.noorshomelab.dev/systems-engineering-2026/worker-architectures/</link><pubDate>Fri, 15 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/systems-engineering-2026/worker-architectures/</guid><description>&lt;p&gt;Imagine your application needs to perform a task that takes a long time – perhaps generating a complex report, processing a large image, or training a small AI model. If your user has to wait for this task to complete before they can do anything else, they&amp;rsquo;ll likely get frustrated and leave. This is where worker architectures come into play, transforming slow, blocking operations into smooth, scalable background processes.&lt;/p&gt;
&lt;p&gt;In this chapter, we&amp;rsquo;ll dive into the world of worker architectures, understanding how they decouple long-running tasks from your main application flow. We&amp;rsquo;ll explore the core components that make these systems robust and scalable, and discuss how timeless engineering principles like idempotency and error handling are critical for their success. By the end, you&amp;rsquo;ll be able to design systems that handle heavy loads gracefully, ensuring a responsive user experience and efficient resource utilization, especially relevant for today&amp;rsquo;s AI-driven applications.&lt;/p&gt;</description></item><item><title>Chapter 8: Handling Long-Running Tasks with Background Jobs (Queues)</title><link>https://ai-blog.noorshomelab.dev/scalable-nodejs-api-platform/08-background-jobs/</link><pubDate>Thu, 08 Jan 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/scalable-nodejs-api-platform/08-background-jobs/</guid><description>&lt;h2 id="chapter-8-handling-long-running-tasks-with-background-jobs-queues"&gt;Chapter 8: Handling Long-Running Tasks with Background Jobs (Queues)&lt;/h2&gt;
&lt;p&gt;Welcome to Chapter 8! In modern web applications, not all tasks can or should be handled synchronously within the main request-response cycle. Operations like sending emails, processing large image files, generating complex reports, or integrating with third-party APIs can be time-consuming. If these tasks block the main thread, they can lead to slow response times, poor user experience, and even timeouts, especially under heavy load. This is where background jobs and message queues become indispensable.&lt;/p&gt;</description></item><item><title>Chapter 9: Stacks and Queues: Ordered Collections</title><link>https://ai-blog.noorshomelab.dev/dsa-typescript-mastery-2026/stacks-queues-ordered-collections/</link><pubDate>Mon, 16 Feb 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/dsa-typescript-mastery-2026/stacks-queues-ordered-collections/</guid><description>&lt;h2 id="chapter-9-stacks-and-queues-ordered-collections"&gt;Chapter 9: Stacks and Queues: Ordered Collections&lt;/h2&gt;
&lt;p&gt;Welcome back, aspiring software engineer! In our journey through Data Structures and Algorithms, we&amp;rsquo;ve explored how to set up our TypeScript development environment, understand core programming concepts, and analyze the efficiency of our code. Now, we&amp;rsquo;re ready to dive into some of the most fundamental and widely used data structures: &lt;strong&gt;Stacks&lt;/strong&gt; and &lt;strong&gt;Queues&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;These aren&amp;rsquo;t just abstract concepts; they are the workhorses behind many everyday applications, from your browser&amp;rsquo;s back button to operating system task management. By the end of this chapter, you&amp;rsquo;ll not only understand the &amp;ldquo;what&amp;rdquo; and &amp;ldquo;why&amp;rdquo; of Stacks and Queues but also gain practical skills in implementing them efficiently in TypeScript, analyzing their performance, and recognizing their real-world utility. Get ready to add two powerful tools to your DSA toolkit!&lt;/p&gt;</description></item><item><title>Trigger.dev Zero-to-Mastery for AI Workflows</title><link>https://ai-blog.noorshomelab.dev/triggerdev-v4-guide-2026/</link><pubDate>Wed, 20 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/triggerdev-v4-guide-2026/</guid><description>&lt;p&gt;Welcome to the definitive zero-to-mastery guide for Trigger.dev, designed to equip developers with the skills to build robust AI workflows and production systems. This comprehensive resource covers everything from initial setup and configuration to advanced topics like durable execution, AI agents, and human-in-the-loop processes. Explore practical examples and best practices for integrating Trigger.dev into modern TypeScript and Next.js applications, ensuring you can deploy, debug, and scale your systems effectively.&lt;/p&gt;</description></item></channel></rss>