allegro / allegro/bigcache

Error logs about bytes allocation?

Aperta
#348 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
Go
Stelle
8.2k
Fork
614
Merge medio
5g 12h
PR unite (30g)
1

Descrizione

**What is the issue you are having?**

I'm seeing this get printed out with a severity of `error`. I'm wondering is this something I need to worry about? If not, is there a reason why it reports as an `error` vs. a `info` or `warn` ?

```
2022/11/11 18:52:43 bytes_queue.go:117: Allocated new queue in 604.417µs; Capacity: 2522348
```

image

I'm basically using the default configuration but

```
LifeWindow = 30 * time.Minute
Shards = 2048
```

I'm wondering is there a guide lines on how to properly configure the shards properly? Also sorry if this isn't the right forum to ask the question. I can move it somewhere else if you know a better forum for this quesiton.

**Environment:**
github.com/allegro/bigcache v1.2.1
go 1.18

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.