chunk size of 64kb, possible to user define this chunk size?

Open
#80 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go

Research direction

No files, tests, or entry points are named. Start by locating the fixed 64 KB chunk-size implementation and the cache construction API, then review existing tests for cache sizing and key/value storage. Done means exposing a considered way to configure the chunk size while preserving cache correctness and documenting the expected sizing trade-offs.

Written by the indexing model from the issue text.

Description

i have key of up to 256bytes and value of 1byte. using 64kb is a waste of size?

possible to include a feature for user to self assign the chunk size?

does it mean the user specified chunk size should be 257 bytes in the scenario i've mentioned? i can fork and hard code this value though

Dominant language
Go
Stars
2.4k
Forks
199
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from VictoriaMetrics/fastcache

All issues in VictoriaMetrics/fastcache

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.