(Reproduced) About java multi-threaded web server and related information reproduced

1. Simple java multi-threaded web server implemented by yourself:

https://blog.csdn.net/chongshangyunxiao321/article/details/51095149

Implement a simple web server yourself to know the working principle, which is beneficial to understand the processing of tomcat and servlet;

 

2. Java Web Application Tuning Thread Pool   https://blog.csdn.net/chenjian98306/article/details/50716925

The article talks about:

First, simply implement a simple single-threaded Web service;

Then join multithreading;

Then multithreading may bring unlimited memory overhead;

So introduce the thread pool;

And when there are too many threads, new requests will be added to the queue waiting to be processed; if the queue reaches the upper limit, a strategy is adopted, such as abandonment strategy, abort strategy, etc.;

As well as improving performance, tuning the number of threads, etc.;

 

3.java implements a simple web container (thread pool)   https://blog.csdn.net/sjiang2142/article/details/6935727

 

4.java simulates http server  https://blog.csdn.net/qq43599939/article/details/51480860

   Simple simulation of HTTP server using Java socket  https://blog.csdn.net/hohoo1990/article/details/50697895

                      https://blog.csdn.net/u012734441/article/details/44801523

 tomcat, the working principle of tomcat   http://www.codesky.net/article/201101/149182.html  (the example application part of this article can still be used for reference)

 

5. Design and implementation of multi-threaded web server (JAVA and PYTHON)    https://blog.csdn.net/hy1405430407/article/details/53324576

 

6. Servlet is actually a single instance multi-threading  https://blog.csdn.net/xiaojiahao_kevin/article/details/51781946

 

7. Tomcat high concurrency configuration tuning    https://blog.csdn.net/u011622226/article/details/72510385

  Tomcat thread pool tuning  https://blog.csdn.net/lxl631/article/details/50010123

  Tomcat and multithreading    https://blog.csdn.net/splendid_java/article/details/52065572

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325282981&siteId=291194637