On 3/14/2018 5:49 AM, BlackIce wrote:
I was just thinking.... Do I really need separate VM's in order to run multiple Solr instances? Doesn't it suffice to have each instance in its own user account?
You can run multiple instances all under the same account on one machine. But for a single machine, why do you need multiple Solr instances at all? One instance can handle many indexes, and will probably do it more efficiently than multiple instances.
The only time I would *ever* recommend multiple Solr instances is when a single instance would need an ENORMOUS Java heap -- something much larger than 32GB. If something like that can be split into multiple instances where each one has a heap that's 31GB heap or less, then memory usage will be more efficient and Java's garbage collection will work better.
FYI -- Running Java with a 32GB heap actually has LESS memory available than running it with a 31GB heap. This is because when the heap reaches 32GB, Java must switch to 64-bit pointers, so every little allocation requires a little bit more memory.
Thanks, Shawn