Nicksxs

Tomcat Series Part 4-Introducing Valve Architecture

Original link: https://nicksxs.me/2023/10/01/Tomcat-%E7%B3%BB%E5%88%97%E7%AF%87%E5%9B%9B-%E4%BB%8B %E7%BB%8D%E4%B8%8B-Valve-%E6%9E%B6%E6%9E%84/ Valve is an important part of Tomcat architecture. mentioned before This article is reproduced from: https://nicksxs.me/2023/10/01/Tomcat-%E7%B3%BB%E5%88%97%E7%AF%87%E5%9B%9B-%E4%BB%8B %E7%BB%8D%E4%B8%8B-Valve-%E6%9E%B6%E6%9E%84/ This site is only for collection, and the copyright belongs to the original author.

Tomcat Series Part 4-Introducing Valve Architecture Read More »

Tomcat Series Part 2 – Introducing the overall architecture

Original link: https://nicksxs.me/2023/09/16/Tomcat-%E7%B3%BB%E5%88%97%E7%AF%87%E4%BA%8C-%E4%BB%8B %E7%BB%8D%E4%B8%8B-Engine/ The previous article seems a bit abrupt, and it should be analyzed slowly according to the architecture, so here we return to our overall Tomcat architecture. Here we take a look through a Tomcat configuration file. This article is reproduced from: https://nicksxs.me/2023/09/16/Tomcat-%E7%B3%BB%E5%88%97%E7%AF%87%E4%BA%8C-%E4%BB%8B %E7%BB%8D%E4%B8%8B-Engine/ This site is only for collection, and the

Tomcat Series Part 2 – Introducing the overall architecture Read More »

springboot request response processing flow

Original link: https://nicksxs.me/2023/08/27/springboot-%E8%AF%B7%E6%B1%82%E5%93%8D%E5%BA%94%E5%A4%84% E7%90%86%E6%B5%81%E7%A8%8B/ Tomcat will delegate the request to org.springframework.web.servlet.DispatcherServlet#doService This article is transferred from: https://nicksxs.me/2023/08/27/springboot-%E8%AF%B7%E6%B1%82%E5%93%8D%E5%BA%94%E5%A4%84% E7%90%86%E6%B5%81%E7%A8%8B/ This site is only for collection, and the copyright belongs to the original author.

springboot request response processing flow Read More »

springboot web server startup logic – Java – SpringBoot

Original link: https://nicksxs.me/2023/08/20/springboot-web-server-%E5%90%AF%E5%8A%A8%E9%80%BB%E8%BE%91/ One of the conveniences of springboot is to integrate the web server into it, and then continue to look at the startup process of the web server based on the 2.2.9.RELEASE version of springboot. The main body of the springboot system is to see This article is transferred from: https://nicksxs.me/2023/08/20/springboot-web-server-%E5%90%AF%E5%8A%A8%E9%80%BB%E8%BE%91/ This site

springboot web server startup logic – Java – SpringBoot Read More »

springboot mappings registration logic

Original link: https://nicksxs.me/2023/08/13/springboot-mappings-%E6%B3%A8%E5%86%8C%E9%80%BB%E8%BE%91/ I talked about how to get the mapping url earlier, and continue to talk about how these mappings are registered. Let’s take a look at the inheritance relationship of this RequestMappingHandlerMapping This article is transferred from: https://nicksxs.me/2023/08/13/springboot-mappings-%E6%B3%A8%E5%86%8C%E9%80%BB%E8%BE%91/ This site is only for collection, and the copyright belongs to the original author.

springboot mappings registration logic Read More »

springboot gets all the interface urls in the web application

Original link: https://nicksxs.me/2023/08/06/springboot-%E8%8E%B7%E5%8F%96-web-%E5%BA%94%E7%94%A8%E4%B8 %AD%E6%89%80%E6%9C%89%E7%9A%84%E6%8E%A5%E5%8F%A3-url/ Recently, there is a small demand to export the request mapping of one of our springboot applications. So it has been transformed. It should be to sort out all the interface paths of this application. For example, I have an api.baidu1.com This article is transferred from: https://nicksxs.me/2023/08/06/springboot-%E8%8E%B7%E5%8F%96-web-%E5%BA%94%E7%94%A8%E4%B8 %AD%E6%89%80%E6%9C%89%E7%9A%84%E6%8E%A5%E5%8F%A3-url/ This site is

springboot gets all the interface urls in the web application Read More »

Reflections on “Adventures of Chasing Sheep”

Original link: https://nicksxs.me/2023/07/23/%E3%80%8A%E5%AF%BB%E7%BE%8A%E5%8E%86%E9%99%A9%E8%AE%B0%E3%80%8B%E8%AF%BB%E5%90%8E%E6%84%9F/ Recently, I was reading “Dance, Dance, Dance”, and then saw an introduction saying that it was related to the plot of “The Adventures of the Sheep”, so I read “The Adventures of the Sheep” first. “The Adventures of the Sheep” is also the first full-scale novel by Haruki Murakami. This article is

Reflections on “Adventures of Chasing Sheep” Read More »

headscale add node

Original link: https://nicksxs.me/2023/07/09/headscale-%E6%B7%BB%E5%8A%A0%E8%8A%82%E7%82%B9/ add node Adding nodes is very simple. For example, the app store or the official website can download the mac installation package. The installation package can be downloaded directly at This article is reproduced from: https://nicksxs.me/2023/07/09/headscale-%E6%B7%BB%E5%8A%A0%E8%8A%82%E7%82%B9/ This site is only for collection, and the copyright belongs to the original author.

headscale add node Read More »

The http interface in spring boot returns a small note in the form of json

Original link: https://nicksxs.me/2023/06/25/spring-boot%E4%B8%AD%E7%9A%84-http-%E6%8E%A5%E5%8F%A3%E8% BF%94%E5%9B%9E-json-%E5%BD%A2%E5%BC%8F%E7%9A%84%E5%B0%8F%E6%B3%A8%E6%84%8F%E7 %82%B9/ This may be a very simple point, but if you encounter it before, record it. Our conventional applications use a unified request-response converter to process requests and response returns. However, for files uploaded or returned files, generally All do not use unified processing, but there may be such a situation

The http interface in spring boot returns a small note in the form of json Read More »

Record a failed experience of tossing self-organized nas-continuation

Original link: https://nicksxs.me/2023/06/18/%E8%AE%B0%E5%BD%95%E4%B8%80%E6%AC%A1%E6%8A%98%E8% 85%BE%E8%87%AA%E7%BB%84-nas-%E7%9A%84%E5%A4%B1%E8%B4%A5%E7%BB%8F%E5%8E%86-% E7%BB%AD%E7%BB%AD%E7%BB%AD%E7%AF%87/ Recently, I made a big mistake when I was working on nas, because I mentioned earlier that I was using Gigabyte’s z370m. This motherboard was bought together with the CPU. If it is only used in the Windows environment, there is no expansion requirement, or only use 6 sata disk

Record a failed experience of tossing self-organized nas-continuation Read More »

A small idea of ​​​​building a black skirt nas with a vmware virtual machine under win

Original link: https://nicksxs.me/2023/06/04/win-%E4%B8%8B-vmware-%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%90 %AD%E5%BB%BA%E9%BB%91%E8%A3%99-nas-%E7%9A%84%E5%B0%8F%E6%80%9D%E8%B7%AF/ The last time I talked about the nas solution, I used the black skirt virtual machine built by vmware workstation under win10, and adopted the sata physical disk pass-through method, which can be regarded as running through the basic usage mode of the black skirt, but later discovered a problem that

A small idea of ​​​​building a black skirt nas with a vmware virtual machine under win Read More »

Record a failed experience of tossing self-organized nas-continuation

Original link: https://nicksxs.me/2023/05/28/%E8%AE%B0%E5%BD%95%E4%B8%80%E6%AC%A1%E6%8A%98%E8% 85%BE%E8%87%AA%E7%BB%84-nas-%E7%9A%84%E5%A4%B1%E8%B4%A5%E7%BB%8F%E5%8E%86-% E7%BB%AD%E7%BB%AD%E7%AF%87/ This machine has been running before, although it is not very perfect and not the best practice, but this article may not be considered a failure experience, because it finally ran successfully, in the case that the latest version of exsi cannot be installed, and The ASUS z370 motherboard I

Record a failed experience of tossing self-organized nas-continuation Read More »

Record the process of flashing the millet router 4A Gigabit version to openwrt

Original link: https://nicksxs.me/2023/05/21/%E8%AE%B0%E5%BD%95%E4%B8%8B%E6%8A%8A%E5%B0%8F%E7% B1%B3%E8%B7%AF%E7%94%B1%E5%99%A8-4A-%E5%8D%83%E5%85%86%E7%89%88%E5%88%B7%E6 %88%90-openwrt-%E7%9A%84%E8%BF%87%E7%A8%8B/ I sent a Mi Router 4A to a broadband at home in Shaoxing before. The original Mi Router 3 was disconnected and unstable for some reason, and it only supported 100M. I used a 200M broadband here, which felt wasteful, so I moved this idea, but there are still quite

Record the process of flashing the millet router 4A Gigabit version to openwrt Read More »