<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on Mi&amp;Bee Blog</title><link>/en/categories/linux/</link><description>Recent content in Linux on Mi&amp;Bee Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>蓝宝石的傻话</managingEditor><lastBuildDate>Tue, 19 Jun 2018 00:00:00 +0000</lastBuildDate><atom:link href="/en/categories/linux/rss.xml" rel="self" type="application/rss+xml"/><item><title>Linux High Availability and Load Balancing in Practice — From Keepalived to Performance Tuning</title><link>/en/archives/04-keepalived-and-haproxy/</link><pubDate>Tue, 19 Jun 2018 00:00:00 +0000</pubDate><guid>/en/archives/04-keepalived-and-haproxy/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In modern enterprise application architectures, high availability and load balancing are key technologies for ensuring stable system operation. This article provides a detailed introduction to achieving dual-machine hot standby with Keepalived, building internal network service load balancing with HAProxy, and resolving NIC soft interrupt issues for network performance optimization. Through real-world cases and detailed configuration explanations, this article helps readers understand the core principles and practical applications of these technologies.&lt;/p&gt;</description></item><item><title>Advanced Bash Programming Techniques — Handling Message Queue Backlog with the Producer-Consumer Pattern</title><link>/en/archives/08-bash-dev-query/</link><pubDate>Wed, 05 Jul 2017 00:00:00 +0000</pubDate><guid>/en/archives/08-bash-dev-query/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In message system operations, queue backlog is a common and tricky problem. Especially during malicious attacks or system anomalies, the delivery queue may accumulate a large number of messages, severely impacting normal system operation. Traditional single-process processing is not only inefficient but may also cause problems to worsen due to delayed handling.&lt;/p&gt;
&lt;p&gt;This article shares a set of advanced Bash programming techniques based on the producer-consumer pattern. Through core technologies including multi-process concurrency, pipe communication, and efficient awk parsing, we achieve fast and effective handling of message queue backlog issues. This solution has been validated in multiple production environments, capable of improving processing efficiency several times over while ensuring system stability.&lt;/p&gt;</description></item></channel></rss>