Category: Cluster

Performance Test: MySQL 5.6 vs. MariaDB 10.0

Oracle just released MySQL 5.6.10 GA, so it’s time to update the previous performance benchmark data. This round of testing includes the following versions: MySQL-5.5.29 MySQL-5.6.10 MariaDB-5.5.28a MariaDB-10.0.1 This test also retains …

Lessons from 12306.cn: Large-Scale Website Architecture and Performance Optimization

PS: Regarding the 12306.cn website, a lot of people were complaining about it a while back, but the pressure and architecture of this site are far more complex than what non-professionals might imagine. The following is an analysis series on the architecture and performance of the 12306.cn ticketing website, written by senior architect Chen Hao. I personally find it highly valuable, so I’m reposting it below:

12306.cn …

A Detailed Guide to Load Balancers: Nginx vs. LVS vs. HAProxy Pros and Cons

PS: Nginx, LVS, and HAProxy are currently the three most widely used load balancing software solutions. I have implemented all of them in multiple projects, and here is a summary combining some reference materials with my own hands-on experience.

Generally, the use of load balancing evolves with the growth of a website, applying different techniques at different stages…

LVS Cluster Architecture

This article primarily introduces the architecture of LVS clusters. It first presents the general architecture of LVS clusters and discusses their design principles and corresponding characteristics; finally, it applies LVS clusters to building scalable network services such as Web, Media, Cache, and Mail.
1. Introduction
Over the past decade or so, the Internet has evolved from …

Varnish, Squid, Apache, and Nginx Cache Comparison

1. Squid, a long-established reverse proxy, offers advanced features like traditional proxying, authentication, and traffic management, but its configuration is notoriously complex. It is arguably the most widely deployed reverse caching proxy server on the internet today, working behind the scenes on many older CDNs.

2. Varnish is a newer player, designed with simplicity in mind, …

How to Build a Low-Cost, High-Performance MySQL Cloud Data Architecture

Cao Wei is a member of the Taobao database R&D team. He recently shared an internal analysis and exploration of a low-cost, high-performance MySQL cloud data architecture, covering the evolution of the architecture, the roles and components within the system, and more. The article was reposted by Chu Ba on “Erlang Non-Academic Research.” At the beginning, Cao …

Evolution of MySQL Application Architecture in Large-Scale Websites

As the most popular open-source database, MySQL is widely used in web applications and other small to medium-sized projects. However, it’s hard to ignore that at many large IT companies, MySQL has been so heavily optimized and customized that it gradually diverges from the original open-source version, becoming more like a fork — Facebook, for instance …