What is Play framework web server

前端 未结 2 438
一个人的身影
一个人的身影 2021-02-02 07:40

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 defau

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-02 08:25

    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 :)

提交回复
热议问题