Replies: 1 comment 4 replies
-
The only way MicroStream can achieve partial loading and unloading is with the intermediary |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
we are close to pushing a Microstream solution into production for cache-based (microservice) workloads. One thing that we are encountering as we are building this out is to properly tune the data structures so that it is efficient to store in RAM otherwise we are encountering OOM exceptions. Since this is an MVP, we kept it as simple as possible for developers and did not go into the lazy-loading and on-demand features to control this behaviour. Essentially, it is all eagerly loading the cache into RAM.
Having the Lazy option is good, but I feel this requires developers to have quite a bit of low level (and imperative) tweaking if that makes any sense. In other words, this adds complexity to what is aimed to be simple.
My ask is if there are any plans to somehow change the behaviour so that Microstream can eagerly load as much into RAM as possible, and if it comes close to an OOM situation, to intelligently move some data back to disk based off of some rules. Basically abstracting this detail similar to how operating systems use memory and swap space?
Beta Was this translation helpful? Give feedback.
All reactions