4 ms·
Where is the data kept? The very large heaps are partially driven by distributed in-memory storage systems.
by osi 10y ago
Where is the data kept?
The very large heaps are partially driven by distributed in-memory storage systems.
- twic 10y agoHmm, well if the processing is microservices, presumably the data is in a NoSQL database. More seriously, though, isn't most large in-memory data storage done off the garbage collected heap? I have to confess i'm actually not sure what anyone is doing with >20 GB of normal objects.
- dkersten 10y agoI'm sure people do use huge heaps, but most web applications I know of (microservice or not) store the bulk of their data in a (separate) database. So, unless your application is a database, which might want a huge heap so it can cache a lot in-memory, I don't think huge heaps are really necessary. IMHO, at least.
- dom0 10y agoSince it's not really possible to do reliable giant user space caches in the POSIX model of things you'd usually delegate to the page cache.
- sheeshkebab 10y agoSearch (elastic/solr), Cassandra, presto, and most other java backend storage and data processing engines need 20+Gb (at least) to be mildly useful. It's not uncommong to go with 64gb+ heaps there too. Microservices/API won't help with lowering these.
- osi 10y agoyes, exactly this. and by having scalable GC algos so you don't need to do "off heap" tricks in java, things are much easier.