1
0
Go to file
2026-04-15 18:31:44 +02:00
.gitignore initial implementation 2026-03-03 19:50:09 +01:00
adaptive_test.go allow handling multiple resource items at a time 2026-04-15 18:31:44 +02:00
adaptive.go improve low traffic handling for initial blips 2026-03-15 18:50:02 +01:00
event_test.go testing 2026-03-05 12:34:35 +01:00
go.mod testing and prewarm functionality 2026-03-14 19:03:18 +01:00
go.sum testing and prewarm functionality 2026-03-14 19:03:18 +01:00
lib.go allow handling multiple resource items at a time 2026-04-15 18:31:44 +02:00
license package documentation 2026-03-14 21:33:59 +01:00
Makefile drop unused make task 2026-03-14 22:26:12 +01:00
maxto_test.go allow handling multiple resource items at a time 2026-04-15 18:31:44 +02:00
maxto.go testing and prewarm functionality 2026-03-14 19:03:18 +01:00
noai noai entry 2026-04-03 14:31:14 +02:00
pool_test.go allow handling multiple resource items at a time 2026-04-15 18:31:44 +02:00
pool.go allow handling multiple resource items at a time 2026-04-15 18:31:44 +02:00
readme.md fix wording in readme 2026-03-15 18:03:27 +01:00
scenario_test.go allow handling multiple resource items at a time 2026-04-15 18:31:44 +02:00

pool

The pool module provides a resource pool implementation that is safe to access from multiple goroutines.

It supports:

  • finalizing the items when shrinking the pool
  • monitoring the pool usage and state with events and statistics
  • max idle size and timeout based shrinking algorithms
  • a zero-config adaptive algorithm that automatically follows changing resource usage characteristics
  • custom algorithm implementations

Find the documentation here:


Made in Berlin, DE