An open API service indexing awesome lists of open source software.

https://github.com/dtomasi/shardedmap

Another tread-safe sharded map implementation for go
https://github.com/dtomasi/shardedmap

go golang map thread-safe threadsafe

Last synced: about 1 year ago
JSON representation

Another tread-safe sharded map implementation for go

Awesome Lists containing this project

README

          

# shardedmap

[![Go Reference](https://pkg.go.dev/badge/github.com/dtomasi/shardedmap.svg)](https://pkg.go.dev/github.com/dtomasi/shardedmap)
[![CodeFactor](https://www.codefactor.io/repository/github/dtomasi/shardedmap/badge?s=1266a4bec84923fd1abf7d127bccc625b095c592)](https://www.codefactor.io/repository/github/dtomasi/shardedmap)
[![Linting and Testing](https://github.com/dtomasi/shardedmap/actions/workflows/build.yml/badge.svg)](https://github.com/dtomasi/shardedmap/actions/workflows/build.yml)
[![Bench](https://github.com/dtomasi/shardedmap/actions/workflows/benchmark_cob.yml/badge.svg)](https://github.com/dtomasi/shardedmap/actions/workflows/benchmark_cob.yml)
[![CodeQL](https://github.com/dtomasi/shardedmap/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/dtomasi/shardedmap/actions/workflows/codeql-analysis.yml)
[![codecov](https://codecov.io/gh/dtomasi/shardedmap/branch/main/graph/badge.svg?token=9fqDqF2uxF)](https://codecov.io/gh/dtomasi/shardedmap)

This project contains a threadsafe sharded map implementation in Go.

## Installation

go get github.com/dtomasi/shardedmap

## Usage

TBD

## Notice

The idea of splitting maps into shards to solve parallel access issues is not new. I borrowed some ideas from here:

https://github.com/orcaman/concurrent-map

https://github.com/allegro/bigcache

## LICENCE

see [LICENCE](LICENSE)