varmq

A Simplest Storage-Agnostic and Zero-dep Message Queue for Your Concurrent Go Program

19 articles 180 View on GitHub ↗
19 articles
Benefits of VarMQ's Linked List Pool Implementation: Zero-Allocation Worker Management

Discover the benefits of VarMQ's linked list pool for zero-allocation worker management. Enjoy O(1) insertion/removal and reduced GC pressure through object reuse.

internals
Mar 2, 2026
What Is the Purpose of `freePoolNode` in VarMQ? Dynamic Worker Lifecycle Management

Discover the purpose of freePoolNode in VarMQ. Learn how it manages worker goroutines based on queue pressure and configuration for efficient resource allocation.

internals
Mar 2, 2026
What is sendToNextChannel in VarMQ? The Internal O(1) Job Dispatcher Explained

Discover how VarMQ's sendToNextChannel efficiently dispatches jobs to idle workers in O(1) time. Learn about this internal dispatcher and its role in optimizing performance.

internals
Mar 2, 2026
How VarMQ Handles Job Queuing and Distribution Balancing: A Deep Dive into the Source Code

Explore VarMQ source code to understand its job queuing strategies and dynamic goroutine worker pool for efficient distribution balancing and auto-scaling.

deep-dive
Mar 2, 2026
How to Tune VarMQ Pool Concurrency at Runtime

Easily tune VarMQ pool concurrency at runtime using TunePool() without restarting. Dynamically resize worker goroutines for optimal performance while jobs are active.

how-to-guide
Mar 2, 2026
VarMQ Worker Configuration Options: Complete Guide to Pool Tuning and Queue Strategy

Explore VarMQ worker configuration options like concurrency pool tuning and queue strategy. Optimize your message broker performance with this complete guide.

how-to-guide
Mar 2, 2026
How to Wait for All Jobs to Finish in VarMQ: Complete Guide

Learn how to wait for all jobs to finish in VarMQ using worker WaitUntilFinished or WaitAndStop. Complete guide for efficient job management in goptics varmq.

how-to-guide
Mar 2, 2026
How to Monitor VarMQ Worker Status: Runtime API and Metrics Guide

Monitor VarMQ worker status using its built-in runtime API. Learn how to access metrics like NumProcessing() and Status() for real time insights into your message queue performance.

how-to-guide
Mar 2, 2026
How to Bind a Queue to a VarMQ Worker: Complete API Guide

Learn how to bind a queue to a VarMQ worker using the comprehensive API guide. Discover BindQueue, BindPriorityQueue, and WithDistributedQueue for efficient queue management.

api-reference
Mar 2, 2026
How to Create a New Worker in VarMQ: Complete Guide with Examples

Learn how to create a new worker in VarMQ using the goptics/varmq repository. This guide provides clear examples and steps to integrate your business logic seamlessly.

how-to-guide
Mar 2, 2026
What Is the Time Complexity for VarMQ's Worker Pool Operations?

Discover the O(1) constant time complexity of VarMQ's worker pool operations. Learn how its custom doubly-linked list optimizes pointer manipulation for peak performance.

performance
Mar 2, 2026
VarMQ Worker Pool Implementation: Key Files and Architecture

Explore VarMQ's worker pool implementation. Discover the five key files like worker.go and pool.go that orchestrate its efficient architecture and manage job channels for peak performance.

internals
Mar 2, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →