• Laravel learning: the life cycle from request to response


    The whole execution process of laravel from request to response can be summarized into four stages, namely, program start preparation stage, request instantiation stage, request processing stage, response sending stage and program termination stage. Program start preparation phase Service container instantiation The instantiation and basic registration of service container include service container registration, basic service […]

  • How does nginx start and process HTTP requests?


    I had the impulse to read nginx a long time ago, but I’ve been delayed by some things. Recently, in my busy schedule, I took some time to read nginx code, and found that it’s not very difficult to understand on the whole, and I just want to learn nginx + Lua development. Nginx is […]

  • Baidu app fluency whole process quality monitoring practice (2) fluency index selection


    preface In series (1), we learned the necessity of fluency monitoring, and some indicators and methods of fluency evaluation in the industry. Next, we will introduce series (2), the selection of fluency index of Baidu app. Baidu app fluency index selection 1. Unsmooth scene and weight consideration The actual test found that in the baidu […]

  • Summary of react life cycle


    Write on the front This is an article recording the life cycle of react. Bloggers are recently rereading react’s official website to have a deeper understanding of react. If you are also interested in react, please contact me to discuss!! In this paper, there are some vague and wrong descriptions. I hope you can give […]

  • PHP の concept


    PHP life cycle 1. Request / response cycle 1) . presentation layer analysis Program start, server process request, response, return to client, program end 2) . bottom layer analysis Min — > rint — > PHP execution — > rshutdown — > mshutdown a. Module initialization phase PHP loads the code of each extension and […]

  • Web server King: Apache vs nginx


    Apache and nginx are both web servers, both of which implement HTTP 1.1 protocol. No matter which one is selected, it is decided by the application scenario, so some files only start from the application scenario to compare their respective characteristics. Let the right tools do the right things. Web server Web server is also […]

  • PostgreSQL startup processing


    content validity This paper mainly introduces the startup process of PostgreSQL. When startup occurs on the server side of a client connection, the server establishes a connection with the client and creates the corresponding back end process. The normal message interaction can be carried out later. PostgreSQL communication protocol includes two phases: startup phase and […]

  • New features of ECMAScript 2016 (ES7)


    brief introduction Since ES6 (ECMAScript 2015) was released in 2015, ECMAScript has been developing at the rate of one version per year. Now it’s ECMAScript 2020. Each version has some new features. Today, this article will explain the new features in ES7. TC39 and ECMAScript First of all, let’s talk about the history of ECMA. […]

  • What should we think before we code


    When you take over a new project and realize a new function, do you often start work immediately, build databases, tables, and code? If so, please stop and read this article slowly. If not, please step on it. Maybe you can learn something.   (1)Understanding the business   First of all, we need to understand […]

  • Principle and practice of Seata at mode of distributed transaction


    Seata is an open source distributed transaction solution based on Java AT,XA,TCC,Saga Seata provides four modes to solve distributed transaction scenarios: at, Xa, TCC and saga. My understanding of these models AT This is a major feature of Seata. At is completely non-invasive to the business code, very simple to use, and low transformation cost. […]

  • Hard core! Eight pictures to understand the end-to-end processing semantics of Flink exactly once


    Flink There are three locations in Flink that need end-to-end precise processing at one time Source side: when data enters Flink from the previous stage, it needs to ensure that the message is consumed accurately at one time. Internal side of FlinkWe have learned that by using checkpoint mechanism, the state can be saved to […]

  • 12 pictures show you a thorough understanding of distributed transactions!!


    Write on the front The background of writing this article is that a small partner who has a good relationship with me went to a large Internet company for an interview. The interviewer asked him a question about distributed transactions. Unfortunately, he didn’t really have a deep understanding of distributed transactions, and the interview result […]