Tag:free

  • On the memory layout of program

    Time:2021-7-13

    preface 1. What are user space and kernel space? 2. What is the typical memory layout in the next Linux Process? 3. What is stack area? 4. What is heap area? 5. How to implement malloc algorithm? 6. How many heap space allocation methods are there in Linux? Do you have any answers to the […]

  • Implementation of keepalive source code of nginx

    Time:2021-6-18

    Author: XRS online school – Huang Tao What is the biggest difference between HTTP1.1 and http1.0? The answer is that the HTTP 1.1 protocol enables keep alive by default, as shown in the request header of HTTP 1.1 What is keeping alive? What is the role? Keepalive is a mechanism that can detect dead connections […]

  • [high frequency interview] explain the meaning of each parameter of thread pool

    Time:2021-6-16

    A very frequent interview question in an interview: explain the meaning of each parameter in the process pool. This is a very common interview question, but it will block a lot of people. It is of great benefit for us to learn and use thread pool to understand the meaning of each parameter of thread […]

  • Several implementation cases of golang connection pool

    Time:2021-6-11

    Because of the three handshakes of TCP and other reasons, establishing a connection is a relatively high cost behavior. Therefore, in a program that needs to interact with a specific entity many times, it is necessary to maintain a connection pool, in which there are reusable connections for reuse. To maintain a connection pool, the […]

  • Wonderful! Can spring boot integrate mybatis druid and configure monitoring?

    Time:2021-6-1

    Spring boot integrates mybatis druid and configures monitoring Add dependency <!–druid–> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid-spring-boot-starter</artifactId> <version>1.1.16</version> </dependency> <!–mybatis–> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.3.2</version> </dependency> <!–mysql–> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency> If you use log4j, you need to add the dependency of log4j and exclude slf4j <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-log4j</artifactId> <version>1.3.8.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <!– Exclude log itself — […]

  • [operating system virtualization] memory segmentation

    Time:2021-5-13

    introduce Using base and bound registers, it is easy for the operating system to relocate different processes to different physical memory regions. However, for these memory areas, there is a large “free” space between the stack and the heap. The space between the stack and heap is not used by the process, but it still […]

  • Freefilesync – automatic folder synchronization

    Time:2021-5-13

    In the relevant settings of the enterprise, if two physical machines need to achieve file synchronization between the master and slave, freefilesync can be recommended as the automatic synchronization setting Don’t talk too much, just take the opportunity   Start setting up file comparison – click red funnel setting (comparison / synchronization)     Click […]

  • How to measure Linux performance and avoid the most typical error: CPU

    Time:2021-4-18

    In this series, we will discuss Linux performance measurement and how to measure it correctly. Linux performance is a very broad topic, so we will focus on the four main resources that usually improve system performance — CPU, memory, disk storage and network. Now, when we talk about component related performance, many scenarios just need […]

  • test2

    Time:2021-4-3

    Test2 new to fwq 1. Setting – XMS = – Xmx goes without saying 2. The initial heap memory allocated by the JVM is specified by – XMS, which is 1 / 64 of the physical memory by default; the maximum heap memory allocated by the JVM is specified by – Xmx, which is 1 […]

  • Diagram of the storage allocation strategy of tcapsusdb

    Time:2021-3-20

    preface There are many ways to save data. The most direct way is to build a data structure in memory to save data. For example, with a list, every time a piece of data is received, a record is appended to the list. This scheme is very simple and has good performance, but the problem […]

  • Introduction of txhdb storage engine

    Time:2021-3-5

    Introduction of storage engine Database storage engine is the underlying software organization of database. Database management system (DBMS) creates, queries, modifies and deletes data through data engine. Different storage engines provide different storage mechanism, indexing skills, locking level and other functions. Using different storage engines, you can also obtain specific database functions. As the supporting […]

  • 996 is so hard, why go to the Internet factory to experience the good news?

    Time:2021-2-25

    The words “996”, “overtime” and “sudden death” haunt most people in the IT industry all the time. Why go to the Internet factory to experience the fortune telling? Big companies (Alibaba, Huawei, Tencent, etc.) pay a lot of money though they are 996. Take PDD for example, the undergraduate can give 35K, the master can […]