Tagged articles

tunny

2 articles · Page 1 of 1
Golang Shines
Golang Shines
Jun 12, 2026 · Backend Development

Analyzing a Simple Goroutine Resource Pool (tunny)

The article dissects tunny's simple goroutine resource pool, explaining how workWrapper limits goroutine count, how workerWrapper.run processes workRequests via jobChan and retChan, and details the required Worker interface methods, concluding that tunny's core ideas can be adapted for custom pool implementations.

GoGoroutineWorker interface
0 likes · 6 min read
Analyzing a Simple Goroutine Resource Pool (tunny)
MaGe Linux Operations
MaGe Linux Operations
Jul 10, 2024 · Backend Development

How tunny Implements a Simple Goroutine Resource Pool in Go

This article explains how the tunny library wraps goroutine processing units into a workWrapper to limit concurrency, describes the workerWrapper.run flow that queues workRequests via reqChan, details the workRequest structure with jobChan and retChan, and outlines the required Worker interface methods for custom processing.

Gobackendresource pool
0 likes · 3 min read
How tunny Implements a Simple Goroutine Resource Pool in Go