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
- Host: GitHub
- URL: https://github.com/dtomasi/shardedmap
- Owner: dtomasi
- License: mit
- Created: 2021-09-26T11:32:15.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-11T10:52:41.000Z (about 1 year ago)
- Last Synced: 2025-03-11T11:37:22.283Z (about 1 year ago)
- Topics: go, golang, map, thread-safe, threadsafe
- Language: Go
- Homepage: https://pkg.go.dev/github.com/dtomasi/shardedmap
- Size: 551 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shardedmap
[](https://pkg.go.dev/github.com/dtomasi/shardedmap)
[](https://www.codefactor.io/repository/github/dtomasi/shardedmap)
[](https://github.com/dtomasi/shardedmap/actions/workflows/build.yml)
[](https://github.com/dtomasi/shardedmap/actions/workflows/benchmark_cob.yml)
[](https://github.com/dtomasi/shardedmap/actions/workflows/codeql-analysis.yml)
[](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)