Tmux: Network RTT Detection

1 Overview I deal with multiple remote hosts everyday, sometimes, to better understand the current network situation clearly, I want to know the RTTs (Round-Trip Time) between the multiple hops quickly without run any commands against the target hosts manually again and again, which is painful and low efficient. In this article, I’ll share my … Read more Tmux: Network RTT Detection

Data partitioning: Consistent-Hashing

Overview From the previous article we may already have a basic concept of the load balancer, this time, let’s look at one of the popular algorithm: Consistent Hashing Use Cases Consistent Hashing is quite useful when dealing with the cache distributed issue in a dynamic environment (The servers keep adding/removing) compares with the Mod-Hashing. Basically, … Read more Data partitioning: Consistent-Hashing

Load Balancer: Will our system survive?

Types of The Load Balancers There are two major types: Layer 4 load balancer Layer 7 load balancer Pros High availability, maintain the uninterrupted service externally Less downtime and higher throughput More secure, admins can easily to configure the routing rules Detect bottlenecks before they happening Fewer failed or stressed components Cons Additional hop adds … Read more Load Balancer: Will our system survive?