Reputation: 4896
Do anyone know which web server is used by play! framework?
I'm planning to prototype a small intranet app using Play! and I am wondering whether I should use the default play web server or Apache or IIS as used internally.
I don't predict several instances of the application running nor a need for load balancing.
Upvotes: 34
Views: 18285
Reputation: 1805
The internal server is Netty.
Unless you are forced to deploy a Play application in a servlet container, don't do it. Play performs better on Netty as it doesn't need to jump through hoops to support the servlet standard, which shaves off quite a bit of overhead.
My preferred way of deploying Play is attached to a screen session, but "play start" should also do the trick :)
Upvotes: 39
Reputation: 7309
Use the play internal server and use apache IIS or whatever is preferred in your company as a reverse proxy.
Upvotes: 1