← Advanced Concurrency Engineering

In progress

Part 22 - sync.Once, sync.Map, sync.Pool and Atomics: The Rest of the sync Package

Arc 1 used Mutex, RWMutex and WaitGroup. Part 22 covers the rest of the sync package through the news platform: sync.Once for a shared LLM client, sync.Map for the URL dedup cache, sync.Pool for prompt buffers, and atomic compare-and-swap for lock-free limits. Plus the benchmark that lied until we fixed it.

This post is still being written. The title and outline are published so you can follow along with the series — the full article will replace this page when it ships.