Go thread-safe

Open-source Go projects categorized as thread-safe

Top 9 Go thread-safe Projects

  • haxmap

    Fastest and most memory efficient golang concurrent hashmap

    Project mention: hash/maphash is slow | /r/golang | 2023-02-12

    It depends on the architecture like amd64 it’s naturally fast but for amd and the rest is kinda of slow because Go uses AES hashing algorithm upcoming they’re planning to change the hashing alg either xxhash or swisstable I recommend you use 3rd party maphash like https://github.com/alphadose/haxmap or any

  • ZenQ

    A thread-safe queue faster and more resource efficient than golang's native channels

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • queue

    ⏪️ Go package providing multiple queue implementations. Developed in a thread-safe generic way. (by adrianbrad)

    Project mention: Seeking Insights: Tools Used in GitHub Actions for Security Code Checks and Vulnerability Detection | /r/golang | 2023-07-06

    i’m using these checks for my projects and I feel that this is more than enough: https://github.com/adrianbrad/queue/tree/main/.github/workflows

  • go-hashlru

    A simple thread-safe and fixed size LRU. Based on the Hashlru Algorithm :arrows_clockwise:

  • bettercache

    Modern Thread-Safe Caching System with Basic Full Text Functionalities

  • goqueue

    Flexible Queue System for Go

  • Garment

    🐺 A Thread Safe Connection Pooling.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • go-blocking-dequeue

    Thread safe, blocking, generic dequeue data structure for Go

  • set

    Thread(Safe/Unsafe) Set data structure for Go. (by gozeloglu)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-07-06.

Go thread-safe related posts


What are some of the best open-source thread-safe projects in Go? This list will help you:

Project Stars
1 haxmap 775
2 ZenQ 615
3 queue 192
4 go-hashlru 72
5 bettercache 52
6 goqueue 38
7 Garment 11
8 go-blocking-dequeue 7
9 set 2
Updating dependencies is time-consuming.
Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.