分享一些科技資訊想關的主題。

What’s Asymmetric Routing? Dealing with Two ENIs and Asymmetric Routing on AWS EC2 Linux instances

Asymmetric Routing on AWS EC2. Attaching two or more network interfaces (ENIs) from the same subnet to a non-Amazon Linux EC2 instance (for example, CentOS or RedHat Linux) might encounter traffic flow issues caused by asymmetric routing and Linux settings. The solution is to utilize iproute2 package two-phase routing infrastructure. First, we need to create two routing rules that select the routing table that sends the server's response traffic out the same interface on which the request arrived. Second, we create two routing tables; each table routes out through a different interface. The source address of the outgoing packets can be used for the route rules as the selector.

Continue ReadingWhat’s Asymmetric Routing? Dealing with Two ENIs and Asymmetric Routing on AWS EC2 Linux instances

Tuning Linux maximum TCP connections and test on Amazon Linux

Linux connection limit. Many users would like to know what's the TCP connection limits on Linux instance and how to increase the number of connections. This article explains the configurations needed to check and modify on Linux to increase the maximum TCP connection in terms of server side and client side. Also, some tests were done to see the result with different configurations on Amazon Linux.

Continue ReadingTuning Linux maximum TCP connections and test on Amazon Linux

自架 WordPress 網站在 Google 上一直搜尋不到?自行提交 sitemap,讓 Google 建立索引

Google sitemap 提交。你是否在自行架了 Wordpress 的網站、部落格之後,卻發現透過搜尋引擎,如 Google,連上你的網站的人數非常少呢?這篇文章會教你如何在 Google 自行提交 sitemap,讓 Google 建立索引。這樣就可以在 Google 上搜尋到你的網站文章。

Continue Reading自架 WordPress 網站在 Google 上一直搜尋不到?自行提交 sitemap,讓 Google 建立索引