allegro / allegro/bigcache

Question: How to pick the optimal number of shards?

Open
#243 3 comments 5 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
8.2k
Forks
614
Avg merge
5d 12h
Merged PRs (30d)
1

Description

I see that the config allows for specifying the number of shards. In [your article](https://allegro.tech/2016/03/writing-fast-cache-service-in-go.html) about the idea behind bigcache, I see some information on how the shards are used. However, I am wondering if you can provide any advice on how to pick the right number of shards. I understand this is probably heavily dependent on how big the cache is, but some guidelines would be amazing. Perhaps this could be included in the README?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.