Is it safe to handle requests directly by Jetty or Tomcat?
Or only reverse proxy (such as nginx) can prevent abuses (slow data transferring on purpose etc)?
PS: ofcouse I serve static content with nginx =)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
yes, jetty or tomcat are both safe to expose to the world at large, the days of being required to deploy apache in front of them disappeared years ago.
that being said you still need to design your application and configure any container well to handle scale, prevent abuse, etc.
jetty is used in many places, in production situations, serving massive volumes of requests without issue and with a light footprint
heck, jetty even runs well on android phones