Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to run two webapps on a ubuntu VPS but one(my own webapp) prefers to run in Tomcat & other(Solr webservice) is preferable in Jetty. But I think running a separate server for each webapp would be consuming more resources (like memory consumption would be higher) than both the webapps running on same server, isn't it ?

What may be the other bad if I run both Tomcat & Jetty on a single machine for production use?

share|improve this question
add comment

1 Answer

No problems technically speaking.

Just run both on different ports, and be mindful of the memory / CPU usage of each.

It would be easy for one badly behaving server to use too many resources and starve the other.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.