allegro / allegro/bigcache

Question: How to pick the optimal number of shards?

Offen
#243 3 Kommentare 5 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
8.2k
Forks
614
Ø Merge
5 T. 12 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.