Questions about how to check the cashe usage and, about specifying the cache size
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 25/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- go
- Ambito
- backend, performance
Direzione di ricerca
Start with the fastcache.New(maxBytes) documentation linked in the issue and verify what maxBytes represents. Check whether the current API exposes cache usage or free quota; done means the documentation clearly answers the 64 MB value question and explains the availability of usage metrics.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi Team,
I've developed an application and used FastCache as an in-memory data store. So far, everything works fine. One thing I'm struggling is to figure out is how to see the cache usage in megabytes.
So,
- Is there a way to get the cache usage (not the allocation) and/or the free quota?
- If it's not possible at the moment, would such a feature be made available in the future?
There's some confusion in the documentation as well, when creating a cache using fastcache.New(maxBytes)
(https://pkg.go.dev/github.com/VictoriaMetrics/fastcache#New)
- If we need a cache of 64MB, should we specify maxBytes as 64 or 64000000?
- Lingua principale
- Go
- Stelle
- 2.4k
- Fork
- 199
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di VictoriaMetrics/fastcache
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
VictoriaMetrics/fastcache#98 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
VictoriaMetrics/fastcache#80 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
VictoriaMetrics/fastcache#79 · 1 commento · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
VictoriaMetrics/fastcache#75 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
VictoriaMetrics/fastcache#74 ·
Tutte le issue di VictoriaMetrics/fastcache
Issue simili
-
A failed hydrate call can be dropped when the row's wait is ready tooForse già presa @turbot-agent-fleet l’ha presa oggi. Apertaagent:ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
turbot/steampipe-plugin-sdk#1018 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement needs-review
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
router-for-me/CLIProxyAPI#7976 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
uselagoon/lagoon-cli#501 · 1 reazione ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100