Any builtin threshold of used cache size?

Aperta
#98 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
go
Ambito
backend

Direzione di ricerca

No file or test is named. Start by locating the cache-size accounting and eviction entry points, then reproduce the reported behavior with the stated camera workload and cache sizes. Done means identifying whether the roughly 57% usage is intentional and documenting or correcting the behavior as appropriate.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I am using fastcache in a golang-based web service which captures images from multiple cameras with settings:

  • camera count: 8
  • FPS: 7
  • resolution: 2048*2048
    When I set the max cache size to 384MB, 512MB and 1024MB, the percentage of used cache size is always about 57%.
    Is there a builtin threshold for this cache usage limitation or are there some reason for cause this percentage?

Thank you

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di VictoriaMetrics/fastcache

Tutte le issue di VictoriaMetrics/fastcache

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.