Improving Software Performance: One Rule and Three StepsAs software developers, we often grapple with enhancing the performance of our services — be it increasing the number of requests handled…Jan 12Jan 12
Perf as A DebuggerPerf is an official performance analyzing tool in Linux which was invented to monitor hardware performance counters in 2009 (kernel version…Oct 1, 2022Oct 1, 2022
CPU Performance AnalysisOne of performance analysis principles is always measure. Without collecting metrics and stats, we don’t have anything to reason about…Apr 13, 2022Apr 13, 2022
Dive Deep in Designing Messaging SystemMicroservice is a popular architecture design for highly scalable systems which are embracing constant changes and evolution. This is in…Mar 21, 2022Mar 21, 2022
How to detect memory leak using BPFDetecting memory leak is sometime very hard when dealing with complex programs built by programming languages such as C/C++. It is…Jan 29, 2022Jan 29, 2022
Learning kernel-bypass networking in a simpler wayIn previous article, we show that establishing one million tcp connections at server side can be done in modern Linux, but handling…Jan 3, 2022Jan 3, 2022
1M Tcp Connections in CIt is fun to learn a new way to the same thing. This article is about using C to implement an echo server which can hold one million tcp…Sep 25, 2021Sep 25, 2021