The following article mainly introduces why Digg uses NoSQL to replace MySQL databases. Although MySQL databases are widely used, they also have some disadvantages, for example, the actual operation in Digg is not as flexible as that in NoSQL. The following describes the main content.
Following Twitter, Digg, a social media news website, decided to say goodbye to MySQL and replace most of its infrastructure components. Digg will go from LAMPLinux, Apache, MySQL and Perl/PHP/Python) the architecture is migrated to the Cassandra-based NoSQL architecture.
Apache Cassandra is an open-source distributed database management system originally developed by Facebook to store extremely large data. Cassandra is a hybrid non-relational database. It is mainly characterized by a distributed network service composed of a bunch of database nodes rather than a database, and a write operation on Cassandra, it will be copied to other nodes, and the read operations on Cassandra will also be routed to a node for reading.
Casandra users now include Rackspace, Digg, Facebook, Twitter, Cisco, Mahalo, Ooyala, and so on.
The above content is an introduction to Digg's use of NoSQL to replace MySQL. I hope you will have some gains.