(Mobile phone landscape view source more convenient)

Introduction to the

We’re basically done with the thread series, we’re basically done with thread pools in this series, but there’s a lot more that can be said about threads, and we’ll come back to that when we get a chance. Of course, if you have any good ideas, you can also contact me from the lower right corner of the number.

Important knowledge points

Look at the picture above and I’m sure you can recall a lot of things. You can also look at the picture to ask your own questions and answer your own questions. Of course, you can also use the picture as a reference for the interview review.

ThreadLocal is one of the classes that we haven’t analyzed, so we’ll put it in the Netty series

eggs

In the next series, we’ll learn about Netty, and niO.

Why did I go straight to Netty?

Because netty is so important, many frameworks are implemented with Netty at the bottom, such as Dubbo, Spark, Hadoop, Storm, ZooKeeper, GRPC, Flink, Thrift, ElasticSearch, And Spring Cloud Gateway.

As far as the framework of network communication is concerned, netty is basically used as the underlying communication, so whether you say Netty is important or not is quite important. So, let’s talk about Netty first.

Why don’t I talk about the Spring series?

The Spring series is mainly divided into three parts: Spring Core, Spring Boot and Spring Cloud.

Spring Core consists of two main features: Spring IoC and Spring MVC. Both of these features are relatively simple and are nothing more than conceptual things.

Let me give you an example, Spring IoC involves Loading XML, BeanFactoryPostProcessor, Instantiate beans front, center, and Initialize BeanPostProcessor, BeanPostProcessor, AOP, XxxAware, circular reference, init-method, etc. AOP is just a BeanPostProcessor in the IoC process. There are many more concepts. If you are not aware of these concepts, The process of reading IoC directly can be very painful, so I recommend students who want to read the Spring source code to go through the official documentation first, so that they have a good idea of these concepts, so that they can look easier. To be honest, I’d rather explore some of the underlying stuff than the fancy concepts, although I’ll write a few chapters on Spring source code later if I have time.

Spring Boot is basically a set of default values based on Spring Core, with more flexible annotations to expose the custom implementation, which is also application-oriented.

Spring Cloud is even more application-oriented, where you take components here and mix them together, and components there and mix them together, and you end up with Spring Cloud.

Finally, I’d like to say that there are so many concepts in the Spring series that I could talk about them for months, and there are so many spring explanations out there that I think you should read those articles.

Other intentions?

And data structures and design patterns are also things THAT I want to talk about in particular, and that will probably be interspersed in the Netty series with an occasional article or two, just as we talked at length about jumpers and red-black trees and heaps when we talked about collections.

Welcome to pay attention to my public number “Tong Elder brother read source code”, view more source code series articles, with Tong elder brother tour the ocean of source code.