<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tcp on Mi&amp;Bee Blog</title><link>/en/tags/tcp/</link><description>Recent content in Tcp on Mi&amp;Bee Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>蓝宝石的傻话</managingEditor><lastBuildDate>Mon, 10 Apr 2017 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/tcp/rss.xml" rel="self" type="application/rss+xml"/><item><title>A Simple BBR Test on Linode</title><link>/en/archives/linode-bbr-test/</link><pubDate>Mon, 10 Apr 2017 00:00:00 +0000</pubDate><guid>/en/archives/linode-bbr-test/</guid><description>&lt;h2 id="overview"&gt;Overview:&lt;/h2&gt;
&lt;p&gt;TCP BBR solves two problems:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Fully utilizing bandwidth on network links with some packet loss. Suitable for high-latency, high-bandwidth network links.&lt;/li&gt;
&lt;li&gt;Reducing buffer occupancy on network links, thereby lowering latency. Suitable for users with slow access networks.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I remember when BBR was first merged into the Linux 4.9 kernel in 2017, this congestion control algorithm proposed by Google was extremely popular in the tech community. At the time, I was doing cross-border file transfers on Linode, where packet loss was commonplace, so I wanted to test the results firsthand.&lt;/p&gt;</description></item><item><title>Monitoring Collection Notes</title><link>/en/posts/telemetry/monitor-experience/</link><pubDate>Mon, 20 Feb 2017 00:00:00 +0000</pubDate><guid>/en/posts/telemetry/monitor-experience/</guid><description>&lt;h2 id="mysql-monitoring"&gt;MySQL Monitoring&lt;/h2&gt;
&lt;h3 id="mysql-privilege-best-practices"&gt;MySQL Privilege Best Practices&lt;/h3&gt;
&lt;p&gt;Privilege control is primarily for security reasons, so follow these best practices:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Grant only the minimum privileges needed to prevent users from doing harm. For example, if a user only needs to query, just grant SELECT privileges, not UPDATE, INSERT, or DELETE.&lt;/li&gt;
&lt;li&gt;Restrict the login host when creating users, typically to a specific IP or internal network IP range.&lt;/li&gt;
&lt;li&gt;Delete users without passwords after initializing the database. The installation automatically creates some users with no passwords by default.&lt;/li&gt;
&lt;li&gt;Set passwords that meet complexity requirements for each user.&lt;/li&gt;
&lt;li&gt;Periodically clean up unnecessary users. Revoke privileges or delete users.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Example:&lt;/p&gt;</description></item></channel></rss>