go http.Post specifies the size of a single read of the body (32k?)

background Recently, when uploading files, the server directly obtains file data through the requested body. It is found that the io performance during uploading is not fully utilized. When uploading large files, 32k is read in a single time. It is hoped that the block size of a single read can be manually adjusted to improve the speed of uplo ...

Added by zbee on Tue, 21 Dec 2021 20:30:39 +0200

jvm G1 log parsing

1. Background introduction 1.1 introduction to application background 1) Business features: the traffic peak is concentrated in the daytime, and the traffic is very low in the early morning. 2) Application features: Many core business interfaces are provided externally. After 6 a.m., the traffic increases gradually.In the early morning, we ...

Added by indigo2k on Wed, 08 Dec 2021 05:39:05 +0200

LevelDB source code parsing WriteBatch

You can also use my independent blog—— www.huliujia.com Get this article brief introduction The official note of LevelDB describes WriteBatch as follows: WriteBatch holds a collection of updates to apply atomically to a DB How to ensure atomicity may need to be clarified after reading the use of WriteBatch. Here, only one ...

Added by NixNod on Sat, 02 Oct 2021 03:58:58 +0300

LLVM Clang Class Name Format Verification Plugin

Xcode written by LLVM Clang compiler for code class name format checking plug-in Source Code #include <iostream> #include "clang/AST/AST.h" #include "clang/AST/ASTConsumer.h" #include "clang/ASTMatchers/ASTMatchers.h" #include "clang/ASTMatchers/ASTMatchFinder.h" #include "clang/Frontend/CompilerInstance.h" #include "clang/Frontend/Fron ...

Added by jimrains on Fri, 17 Sep 2021 10:39:45 +0300