Tagged articles
Workqueue
18 articles · Page 1 of 1
This article explains the low‑level logic of Linux workqueues, detailing how asynchronous tasks are represented, how work items interact with kernel threads, the key data structures involved, scheduling strategies, and practical code examples for creating, queuing, and managing workqueue tasks.
C++LinuxScheduling
0 likes · 47 min read

Client‑Go is the official Go client library for Kubernetes, offering low‑level HTTP handling, local caching, and event‑driven List‑Watch mechanisms; the article explains its architecture, client types, cache components, code examples, and best practices for building production‑grade controllers and operators.
GoInformerOperator
0 likes · 21 min read

This article explains the concept of interrupt top‑half and bottom‑half processing, why splitting an ISR improves system efficiency, and introduces common Linux mechanisms such as soft interrupts, tasklets, workqueues, timers, and delayed work for handling deferred tasks.
LinuxTaskletWorkqueue
0 likes · 9 min read

This article provides an in‑depth, step‑by‑step analysis of Linux GICv3 interrupt architecture, the kernel driver initialization, hardware‑to‑virtual interrupt mapping, the full interrupt handling state machine, and the workqueue subsystem including its data structures, initialization, and usage patterns.
Device TreeInterruptLinux
0 likes · 37 min read

The article explains how to design and implement a sharded WorkQueue in Kubernetes' controller-runtime, enabling concurrent processing while guaranteeing that resources belonging to the same node are handled sequentially within a single goroutine, using hash-based partitioning and custom queue structures.
Controller-runtimeGoKubernetes
0 likes · 7 min read

This article dissects Kubelet's core data structures—podManager, podWorkers, and workQueue—explaining how they store and synchronize regular pods, static pods, and mirror pods, and detailing the lifecycle steps for pod creation, deletion, and cleanup.
KubernetesMirrorPodWorkqueue
0 likes · 10 min read

This article details the author's comprehensive refactor of the WorkQueue Go library, covering the redesign of its sorting heap using a red‑black tree, interface improvements, enhanced data structures, extensive performance benchmarks, and a step‑by‑step usage guide for developers.
DataStructureGoQueue
0 likes · 43 min read

This article introduces the RateLimiting Queue module of the Go WorkQueue project, explains why it builds on the Delaying Queue, details its design, interfaces, and usage examples, and provides code snippets for creating and operating a rate‑limited queue in backend systems.
BackendConcurrencyGo
0 likes · 13 min read

This article explains the design, implementation details, and practical usage of the Delaying Queue and Priority Queue modules in the WorkQueue library, covering their inheritance from the core Queue, the role of the Quadruple Heap data structure, and providing Go code examples for integration in backend systems.
BackendDataStructureDelayingQueue
0 likes · 16 min read

This article introduces the Go WorkQueue project, detailing its motivation, overall architecture, layered design of Queue, Simple Queue, Delaying Queue, Priority Queue, and RateLimiting Queue, compares underlying data structures such as DoubleLinkedList versus slice, presents performance benchmarks, and explains memory‑fragmentation mitigation using sync.Pool.
GoQueueWorkqueue
0 likes · 12 min read

This article explains the fundamentals of Linux interrupt handling, covering the distinction between hardware and software interrupts, the processing flow of hard IRQs, maskable versus non‑maskable interrupts, the need for deferred execution, and a deep dive into softirqs, tasklets, and workqueues with code examples and performance considerations.
Deferred ExecutionLinuxTasklet
0 likes · 15 min read

This guide explains Linux kernel workqueues, their core structures and default system queues, shows how to use the schedule_work API, and walks through a complete driver example that captures the ESC key, queues a work item, and verifies execution via dmesg.
C++InterruptWorkqueue
0 likes · 11 min read

This article explains Linux's sophisticated scheduling system, CPU context switching, and the architecture of hardware and software interrupts, detailing how the kernel manages CPU resources, interrupt contexts, and bottom‑half mechanisms to optimize performance and stability.
CPU affinityCPU schedulingLinux
0 likes · 20 min read

This article provides a detailed walkthrough of the Kubernetes Job controller source code, explaining the flow from kube‑controller‑manager initialization through key functions such as NewJobController, Run, worker, syncJob, and manageJob, and illustrates how informers, workqueues, and expectations coordinate job lifecycle management.
CloudNativeControllerGo
0 likes · 17 min read


ITPUBAug 21, 2017 · Fundamentals
This article explains Linux interrupt handling mechanisms, covering the basic vector‑table approach, the concept of bottom‑half processing, and the evolution from simple interrupt routines to softirqs, tasklets, and workqueues, while offering practical guidance on when to use each technique.
TaskletWorkqueueinterrupts
0 likes · 8 min read


ITPUBFeb 24, 2017 · Fundamentals
This article explains why the Linux kernel introduced the tasklet mechanism, details its core data structures and execution flow, and then compares it with the workqueue system, covering creation, scheduling, and processing of work items in kernel space.
TaskletWorkqueuekernel
0 likes · 7 min read

This article explains Linux kernel interrupt handling in five stages—from acquiring the interrupt number and serializing concurrent interrupts to using softirqs, tasklets, and workqueues for deferred processing—while highlighting the design choices that keep critical code non‑reentrant and the system responsive.
LinuxTaskletWorkqueue
0 likes · 11 min read


ITPUBAug 29, 2016 · Fundamentals
This article explains Linux interrupt handling mechanisms, covering the basic vector‑table approach, the need for bottom‑half processing, and the three main techniques—softirqs, tasklets, and workqueues—while highlighting their advantages, SMP support, and proper usage guidelines.
InterruptSMPTasklet
0 likes · 9 min read
