Tag:Journal

  • What is the use of log buffer?

    Time:2021-7-29

    The log buffer is the memory area that holds data to be written to the log files on disk. Log buffer size is defined by the innodb_log_buffer_size variable. The default size is 16MB. The contents of the log buffer are periodically flushed to disk. A large log buffer enables large transactions to run without the […]

  • Go gorilla / handlers

    Time:2021-7-29

    brief introduction In the previous article, we introduced the routing management library in the gorilla web development kitgorilla/muxAt the end of the article, we introduce how to use middleware to deal with general logic. In daily go web development, developers encounter many of the same middleware requirements, gorilla / handlers (hereinafter referred to ashandlers)Collected some […]

  • A structured log viewing tool (I): why do you need structured logs

    Time:2021-7-29

    Structured log, as the name suggests, is no longer a free-form log, but follows a certain structure: each line of log is a JSON structure. The benefits are obvious: simplify log parsing and make the subsequent processing, analysis or query of logs convenient and efficient. In contrast to the structured log, the traditional log is […]

  • Nginx 499 questions

    Time:2021-7-28

    scene An interface exception is found in the project. When viewing the nginx log, it is 499 error, request_ Time is about 0.2S. Google later learned that the 499 error of nginx was caused by the user actively disconnecting, even if the interface was not very slow. How to simulate 499 curl -m 0.01 “http://192.168.0.1/common/getDepart” […]

  • Redis summary part I

    Time:2021-7-28

    @TOC Redis overview ✍ What is redis Redis is the abbreviation of remote dictionary server, which can be used as an efficient cache.Redis is developed in C language and saves data in memory, which can be regarded as aPure memoryDatabase, so its data access speed is very fast. Redis stores data in the form of […]

  • Simple demo of websocket + react

    Time:2021-7-28

    About demand Function of simply receiving server information Front end demand analysis Acceptable server information You can close the session Restartable session Knowledge demand A little TS + react A little node + Express A little websocket About the simplest demo Front end implementation onlyStart websocketAndAccept sessionAs the key The server node will realize the […]

  • See how DLI service 4 core improves cloud service automation operation and maintenance

    Time:2021-7-27

    Summary:Today, let’s talk about how DLI implements monitoring alarms to improve the overall operation and maintenance capability, so as to better provide customers with serverless DLI. DLI is a serverless big data computing service that supports multi-mode engine. Operation and maintenance free is also an important feature when facing customers as a serverless cloud service. […]

  • MySQL “passive” performance optimization summary!

    Time:2021-7-27

    When you are young, you don’t know the pain of optimization. When you meet a pit, you know the difficulty of optimization—— Uncle Wang at the entrance of the village The content map of this paper is as follows: I have talked about performance optimization in many previous articles, such as the following: The performance […]

  • Springboot integration – springboot integration log4j2

    Time:2021-7-26

    Log4j2 introduction Log4j2 was originally designed for audit. Log4j2 is an upgraded version of log4j 1. X. it refers to some excellent designs of logback and fixes some problems, which has brought some significant improvements. Compared with log4j and logback, log4j2 has great performance doubles. Log4j2 can automatically reload the configuration. Through parameter configuration, log4j2 […]

  • Grep awk search log common commands

    Time:2021-7-26

    0 grep common parameters reference resources:GNU Grep 3.0 –Color: highlight the matching string -v: Display that cannot be matched by pattern -i: Ignore character case -o: Show only matching strings -q: Silent mode, no information output -A #: after, the last # line matched -B #: before, the first # line matched -C #: context, […]

  • The development of asp.net core

    Time:2021-7-25

    Summarize and share the problems encountered in the development, which is not only a summary of yourself, but also for the convenience of searching. Original address:https://www.cnblogs.com/i3yuan/p/14364481.html C# basic series reflex generic paradigm entrust event Swagger series Using swagger to make API documents (Part I) Using swagger to make API documents (Part 2) Exporting documents using […]

  • Kafka stream word count instance

    Time:2021-7-25

    order Kafka is not a message queue, but a log storage system in essence, and stream processing is its recently promoted feature. This paper briefly introduces the example of word count. maven <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-streams</artifactId> <version>0.10.2.1</version> </dependency> Prepare topic sh kafka-topics.sh –create –topic wc-input –replication-factor 1 –partitions 1 –zookeeper localhost:2181 One is WC input, and […]