You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Spadez <ja...@hotmail.com> on 2012/03/16 17:03:42 UTC

Java Server and PHP server

Hi,

Call me crazy, but I don’t like the idea of having a single server which not
only runs my PHP site on Apache, but also runs SOLR and Nutch, inclusive of
Tomcat.

Is it a terrible idea to have one Rackspace VPS account which runs the PHP
site with MYSQL database, and another rackspace account which runs Tomcat,
Solr and Nutch? Then access SOLR via HTTP from the PHP server.

I know there may be some increase latency from the fact that there are two
servers, but it just seems like I might end up with a more stable platform
this way, and less prone to conflict. 

Regards,

James


--
View this message in context: http://lucene.472066.n3.nabble.com/Java-Server-and-PHP-server-tp3832290p3832290.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Java Server and PHP server

Posted by Erick Erickson <er...@gmail.com>.
It's really up to you. All any app needs to connect to Solr is the HTTP
connection, even if you use something like SolrJ. Yes, there'll
be some latency but I suspect you'll only really notice that if you're
trying to index massive amounts of data across the wire.

Best
Erick

On Fri, Mar 16, 2012 at 11:03 AM, Spadez <ja...@hotmail.com> wrote:
> Hi,
>
> Call me crazy, but I don’t like the idea of having a single server which not
> only runs my PHP site on Apache, but also runs SOLR and Nutch, inclusive of
> Tomcat.
>
> Is it a terrible idea to have one Rackspace VPS account which runs the PHP
> site with MYSQL database, and another rackspace account which runs Tomcat,
> Solr and Nutch? Then access SOLR via HTTP from the PHP server.
>
> I know there may be some increase latency from the fact that there are two
> servers, but it just seems like I might end up with a more stable platform
> this way, and less prone to conflict.
>
> Regards,
>
> James
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Java-Server-and-PHP-server-tp3832290p3832290.html
> Sent from the Solr - User mailing list archive at Nabble.com.