On Thu, 2014-01-23 at 09:36 +0100, Stavros Delisavas wrote:
> I am using Solr for my current web-application on my server successfully.
> Also I would like to be able to have one state of my development version
> and one state of my production version on my server so that I can do
> tests on my development-state without interference on my production-version.
> What is the best-practice to achieve this or how can this be done in
> general?

I highly recommend keeping development on another machine than
production. Solr (and any other heavy application, really) taxes all the
different resources on the system - CPU, memory & IO. A run-amok
development Solr can easily influence a production Solr on the same
machine.

Running on the same machine is also prone to human errors: Accidental
shutdown of the production server, sending test data into prod etc.


If you really need to do it, run development under a different user than
prod and see if it is possible to block access to the ports used by prod
for the development user.

- Toke Eskildsen, State and University Library, Denmark


Reply via email to