Download jetty and jetty
Java container
There are many java containers, such as tomcat, jetty, jboss, resin, weblogic, and webspere.
There are charges and open-source resources free of charge, and the performance may be slightly different. Theoretically, the charges should be more than free, and the performance should be more.
However, there is no problem in using open-source and free applications for huge traffic volumes (such as tens of millions of PVS). Currently, our technology wave and performance bottlenecks are generally in databases, access the hard disk, rather than network requests and responses.
Known java containers used by Internet companies:
Jetty: google, Meituan
Tomcat: yougou.com
Jetty Official Website: http://www.eclipse.org/jetty/
Jetty Source: git clone https://github.com/eclipse/jetty.project.git
About tomcat blog: http://blog.csdn.net/puma_dong/article/details/21875253
Working principle of Jetty and comparison with Tomcat
Google App Engine switched to Jetty
Jetty logs
This week, I encountered a jetty log problem. Check jetty's request. in the log, the parameters we post are not recorded. google has not answered the question for a long time, so we downloaded the jetty source code and looked at this part of the log: jetty-server/src/main/resource/org/eclipse/jetty/server/NCSARequestLog. java, only the request is recorded in the parameter-related logs. getUri (), that is, only get parameters can be recorded in the log, and post parameters are not recorded in the log.
Related posts:
Http://wiki.eclipse.org/Jetty/Tutorial/RequestLog
In the future, we will gradually add jetty-related knowledge ......