1. Spring Boot Startup Principlehistorical

    These notes start with a Spring Boot application's startup statement and trace the startup process while omitting simple nested calls.

  2. Create Executorhistorical

    These notes trace Netty Executor creation, starting with the thread factory and executor initialization.

  3. 2. Create NioSocketChannelhistorical

    Netty wraps accepted Java NIO connections in NioSocketChannel. These notes trace construction of that object and its parent classes.

  4. Adding and Removing ChannelHandlershistorical

    These notes begin with methods such as DefaultChannelPipeline.addLast and trace ChannelHandler insertion, validation, and removal.

  5. 2. Server Initializationhistorical

    These notes follow bind and doBind calls to trace the work performed during Netty server initialization.

  6. 2. Call BeanFactoryPostProcessor's postProcess Methodhistorical

    Spring invokes BeanFactoryPostProcessors during container refresh. These notes trace their execution from invokeBeanFactoryPostProcessors.

  7. Spring Boot Auto-Configuration Principlehistorical

    @SpringBootApplication connects annotations such as @EnableAutoConfiguration. These notes trace how Spring Boot auto-configuration takes effect from those entry points.

  8. Create the NioEventLoop Arrayhistorical

    NioEventLoopGroup creates individual NioEventLoops through newChild. These notes follow that call to examine event-loop-array initialization.

  9. 3. Allocate a Thread and Register the Selectorhistorical

    After a new connection passes through the pipeline, it needs a processing thread and Selector registration. These notes trace the related calls from connection acceptance.

  10. 3. Register the Selectorhistorical

    Starting from the server's bind call, these notes trace how a Channel is assigned an event loop and registered with the Selector.