3 ms·
The only performance reason I could imagine would be if both pieces had required large heaps and had difference garbage collection profiles. Putting them in se
by jburwell 11y ago
The only performance reason I could imagine would be if both pieces had required large heaps and had difference garbage collection profiles. Putting them in separate containers (and by extension JVMs) would split the size of the heap for garbage collection and provide more deterministic garbage collection cycle times. However, to receive such a benefit, the heaps would need to be fairly large (e.g. greater than 4GB each).
- pyre 11y ago> (e.g. greater than 4GB each). That's an awful lot of RAM to be using. I doubt many people even have servers with that amount of RAM in them let alone enough for 2.
- justincormack 11y agoHave you seen a modern server? People have 1TB Ram in some of them.
- liveoneggs 11y agothe jvm is already a container, putting them in docker is additional overhead vs simply starting two java processes.