timerring

The Iftop

January 30, 2025 · 1 min read
Tutorial
Linux | Network

I frequently use ifconfig and cat /proc/net/dev to examine network information. However, today, my cloud server crashed unexpectedly. I reached out to the cloud support for assistance. The engineer utilized iftop to analyze the situation. After the issue was resolved, I started to consider using this tool. Now, let’s take a closer look at this powerful utility.

Read the full text -> A total of 0.38k words


CPU can only see the threads

January 23, 2025 · 12 min read
Tutorial
Multiple Threads | Multiple Processes | Coroutine | Python

In python, due to the GIL (Global Interpreter Lock), which is a mutex and ensures only one thread can execute at a time, so the multiple threads parallel execution is not supported under the CPython interpreter. But what about the multiple processes? What is the difference between them? How to choose the right method? Do you know the coroutine? Let’s explore it together.

Read the full text -> A total of 2.47k words