craigslist replaces mysql with mongodb

Source: Internet
Author: User
Keywords relational databases data storage relational databases data storage
Tags archive classified information website data data storage document import information install

According to foreign media reports, Craigslist, the world's largest classified information website, is using the MongoDB database to archive data, which used to be a MySQL database cluster. This is perhaps the largest web site to use NoSQL data storage.

The following is a mongodb cluster of Craigslist, a software engineer from the site Zawodny:

We are calculating the space to install about 5 billion documents, import from the initial 2 billion documents, and add the space needed for the next few years. The average size of one document is 2KB (a total of 10TB data). For MongoDB We are practical experience, this particular task is not high throughput or unpredictable growth. During migration, importing data into MongoDB is faster than exporting from MySQL.

Interested friends can watch the video, Zawodny explains the evolution of the data store at Craigslist, and how MongoDB meets the future of the site's infrastructure. Of course, in this video, you can also learn why Craigslist chose mongodb in many data storage solutions.

MongoDB Introduction:

MongoDB is a product between relational database and non relational database, and is the most powerful and relational database in the relational database. The data structure he supports is very loose and is a JSON-like Bjson format, so you can store more complex data types. The biggest feature of MONGO is that the query language he supports is very powerful, and its syntax is somewhat similar to an object-oriented query language, which can almost achieve most of the functions of a single table query like relational database, and also supports indexing data.

Craigslist profile:

Craigslist was created by founder Craig Newmark in 1995 in the San Francisco Bay Area of California, a large online free classified advertising website. It can also be called the originator of the classified information Web site, the domestic similar sites including net station, 58 city and so on.

Open source China Community

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.