emt14
emt14

Reputation: 4896

What is Play framework web server

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

Answers (2)

cdegroot
cdegroot

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

niels
niels

Reputation: 7309

Use the play internal server and use apache IIS or whatever is preferred in your company as a reverse proxy.

Upvotes: 1

Related Questions