HaxMap, a concurrent hashmap faster and more memory-efficient than golang's sync.Map

This page summarizes the projects mentioned and recommended in the original post on /r/golang

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • haxmap

    Fastest and most memory efficient golang concurrent hashmap

  • This behaviour is now fixed with https://github.com/alphadose/haxmap/commit/bc3b9a6adfc4600fd948124f5d9b74139dfe6d39

  • xxhash

    A Go implementation of the 64-bit xxHash algorithm (XXH64) (by cespare)

  • Nopes, the hashing algorithm was exclusively meant for 64 bit archs https://github.com/cespare/xxhash hence it will show invalid results on any 32 bit architectures.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • hashmap

    A Golang lock-free thread-safe HashMap optimized for fastest read access.

  • Pre-allocating would not fix https://github.com/cornelk/hashmap/issues/47 as the bug is in the linked list. This is not grow related but an issue with concurrent Add/Delete on the list.

  • xxHash

    Pure Go implementation of xxHash (32 and 64 bits versions) (by pierrec)

  • I shall add a 32 bit variant of haxmap too in the near future using this 32 bit variant of xxHash https://github.com/pierrec/xxHash/tree/master/xxHash32

  • avo

    Generate x86 Assembly with Go

  • You can use github.com/mmcloughlin/avo for generating the assembly use Go.

  • sonic

    A blazingly fast JSON serializing & deserializing library (by bytedance)

  • Also see sonic for some nice performance tricks github.com/bytedance/sonic

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • SwissMap: A smaller, faster Golang Hash Table

    1 project | news.ycombinator.com | 31 Mar 2023
  • how does lock-free (or lockless) hashmap works?

    1 project | /r/golang | 20 May 2021
  • ttlMap: A golang map in which entries expire after given a time period

    1 project | /r/golang | 26 Oct 2023
  • How do you go about the lack of built in data structure like stack, queue for LeetCode

    1 project | /r/golang | 24 May 2023
  • hash/maphash is slow

    1 project | /r/golang | 12 Feb 2023