Tag

WorkQueue

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 10, 2024 · Backend Development

Understanding and Implementing a RateLimiting Queue in Go's WorkQueue Project

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.

GoQueueRate Limiting
0 likes · 13 min read
Understanding and Implementing a RateLimiting Queue in Go's WorkQueue Project
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 15, 2024 · Backend Development

Understanding Delaying Queue and Priority Queue in WorkQueue: Implementation, Usage, and Underlying Quadruple Heap

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.

DataStructureDelayingQueueGo
0 likes · 16 min read
Understanding Delaying Queue and Priority Queue in WorkQueue: Implementation, Usage, and Underlying Quadruple Heap
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 11, 2024 · Backend Development

Implementation and Usage of Queue and Simple Queue in the Go WorkQueue Project

This article explains the design, implementation, and usage of the Queue and Simple Queue modules in the Go-based WorkQueue project, covering their underlying data structures, interfaces, callback mechanisms, and practical code examples for both unique and duplicate data handling.

Data StructuresKubernetesQueue
0 likes · 16 min read
Implementation and Usage of Queue and Simple Queue in the Go WorkQueue Project
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 8, 2024 · Backend Development

Design and Implementation of a Go WorkQueue Library: Architecture, Interface, and Performance Analysis

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.

Data StructuresGoQueue
0 likes · 12 min read
Design and Implementation of a Go WorkQueue Library: Architecture, Interface, and Performance Analysis
Cloud Native Technology Community
Cloud Native Technology Community
Dec 18, 2019 · Cloud Native

Deep Dive into the Kubernetes Job Controller Implementation

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
Deep Dive into the Kubernetes Job Controller Implementation