-
State Machine: Many Twisted protocol handlers need to write a state machine to record the state they are at. Here are some pieces of advice which help to write state machines…
-
I encountered multitask while analyzing an open-source project, which involved many Python concepts that I was completely unfamiliar with or barely understood. There isn’t much information online about Python multitask, and I’ve always believed that you must truly understand the implementation mechanism of a tool to use it effectively.
-
weight vs. priority Let’s first analyze how the priority value of vrrp_instance is calculated from the code:
-
Problem: To optimize the backend structure, an Nginx scheduling server was added in front of the business server layer. Both the business server and the scheduling server had gzip and caching enabled.
-
I recently wanted to create a microblogging tool to play around with, which led to the idea of setting up a website. While looking at the relevant APIs on Tencent Weibo Open Platform, I encountered many unfamiliar terms.
-
My original intention was to create a tool that would provide convenience for avid microblog users; however, due to technical constraints, it is currently only sufficient for my own personal use. The source code is open-source.
-
To optimize the backend structure, an nginx scheduling server was added in front of the business server layer. Both the business server and the scheduling server had gzip and caching enabled.

