allegro / allegro/bigcache

Question: How to pick the optimal number of shards?

Ouverte
#243 3 commentaires 5 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Go
Étoiles
8.2k
Forks
614
Merge moyen
5 j 12 h
PR mergées (30 j)
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?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.