simerplaha / SwayDB

Persistent and in-memory key-value storage engine for JVM that scales on a single machine.
https://swaydb.simer.au
Apache License 2.0
293 stars 16 forks source link

`Stream` should allow configurations that hint `Core` for better caching and reduced IOps #342

Open simerplaha opened 2 years ago

simerplaha commented 2 years ago

Core iteration can provide much faster Streaming with better caching and reduced IOps if Stream instances provided hints and approximations on things will help core.

Currently Core tries to guess these things which should be removed and be made manually configurable. Auto configuration should be implemented at Stream level itself and not within Core.

Related #337