I recently managed to get my apache running smoothly for the most part. But i have a new conundrum. I am starting a side project which will be built on java using a java server such as tomcat or (i believe) resin. I have a friend who knows more about java as my knolege is rather limited who is suggesting this. The java server would be able to serve the php via an app called quercus found here: http://quercus.caucho.com
It claims to be able to server php faster than the basic apache/php combination as it compiles php code into compiled code making it run faster. It also says drupal runs great using the setup in their getting started documentation. So my question is: is it?
Will the java server with quercus run better than apache with mod_php? I still dont know enough about it yet so im trying to get all the info I can to figure out what and how it will effect my drupal sites. Also for the time being i dont have a large server as I dont have any live sites yet so a large one is not needed. I have 512 ram only. (hosted with slicehost using xen virtualization).
How do the two use resources compared to the other? if the Java server will actually run drupal better then i can get rid of apache and php on the server as quercus would take care of that. If i go with the java server how will it effect the ram? it claims to be able to run php 4x faster than apache can, but if it needs more ram to make it run faster then I definitely cant run both servers with only 512 ram.
We do expect the site built on java to have a large amount of traffic. The site will be based around a game so there will also be a large amount of interaction and dynamic content on the site. I do know eventually I will upgrade to a server with more ram but for now this is what i have. So im looking for any advice as to how the two compare to eachother. If i should just run the java server for drupal and our project or if i should try and run both or what. Also if possible some ways I can configure the javaserver/quercus to run well with drupal (im familiar with drupal but the friend is not, but they are familiar with java)
No comments:
Post a Comment