According to foreign media reports, Craigslist, the world's largest classified information website, is using the MongoDB database to archive data. Previously, the website used a MySQL database cluster. This is perhaps the largest website using NoSQL data storage.
The following is the MongoDB cluster for Craigslist, Zawodny, a software engineer from the website:
We are calculating the space for installing about 5 billion documents, from the first 2 billion documents, and adding the space needed in the next few years. The average size of a document is 2 kb and 10 TB in total ). We are exploring MongoDB in practice. This special task is not about high throughput or unpredictable growth.
Importing data to MongoDB during migration is faster than exporting data from MySQL.
If you are interested, you can watch the video. Zawodny explains the evolution of Craigslist data storage and how MongoDB meets the future of Website infrastructure construction. Of course, in this video, you can also learn why Craigslist chose MongoDB among the many data storage solutions.
MongoDB introduction:
MongoDB is a product between relational databases and non-relational databases. It has the most abundant functions and features like relational databases. The supported data structure is very loose and is similar to the json bjson format. Therefore, it can store complicated data types. The biggest feature of Mongo is that it supports a very powerful query language. Its syntax is a bit similar to an Object-Oriented Query Language, and almost can implement most of the functions of querying a single table similar to a relational database, it also supports data indexing.
Craigslist introduction:
Craigslist is an online large-scale free classified ad website founded by Founder Craig Newmark in the San Francisco Bay Area, California in 1995. It is also known as the originator of a classified information website. Similar websites in China include websites that collect data and 58 cities.