On 30/04/16 17:34, Davis, Daniel (NIH/NLM) [C] wrote: > Bram, on the subject of brute force - if your script is "clever" and uses > binary first search, I'd love to adapt it to my environment. I am trying to > build a truly multi-tenant Solr because each of our indexes is tiny, but all > together they will eventually be big, and so I'll have to repeat this > experiment, many, many times.
Sorry to disappoint, the script is very dumb, and it doesn't just start/stop Solr, it installs our application suite, picks a GC profile at random, indexes a boatload of data and then runs a bunch of query tests. Three pointers I can give you: 1) beware of JVM versions, especially when using the G1 collector, it behaves horribly on older JVMs but rather nicely on newer versions. 2) At the very least you'll want to test the G1 and CMS collectors. 3) One large index vs many small indexes: the behaviour is very different. Depending on how many indexes you have, it might be worth to run each one in a different JVM. Of course that's not practical if you have thousands of indexes. - Bram