First knowledge of Redis

Source: Internet
Author: User
Tags value store

    • NoSQL Introduction

NoSQL (not just SQL), meaning anti-SQL movement, is a new revolutionary movement of the database. It refers to the Philippine relational database. With the rise of internet web2.0 website, the traditional relational database in coping with web2.0 website, especially the web2.0 pure dynamic website of ultra-large-scale and high-concurrency SNS type, has been unable to overcome, exposing a lot of difficult problems, and the non-relational database has been developed very rapidly because of its own characteristics. NoSQL databases are created to address the challenges of multiple data types in large-scale data sets, especially big data application challenges.

Although the NoSQL buzzwords have been burning for just a year, there is no denying that the second generation movement has begun. Although the early stack code can only be considered an experiment, the present system is more mature and stable. But now there is a grim fact: technology is getting more mature--so much so that the good NoSQL data store has to be rewritten, and a few think it's called version 2.0. Here are some of the more well-known tools to build fast, extensible repositories for big data.

    • NoSQL Features

NoSQL is stored in the form of key-value, unlike traditional relational databases, which do not necessarily follow some of the basic requirements of traditional databases, such as following the SQL standard, ACID properties, table structure and so on, such databases have the following characteristics: non-relational, distributed, open source, horizontally extensible.

NoSQL can handle very large databases, run on inexpensive PC server clusters, and smash performance bottlenecks.

    • Application Scenarios

High-concurrency reading and writing of data, efficient storage and access to massive amounts of data, high scalability and high availability of data

    • Redis

Redis is an open-source, Advanced Key-value store. It is commonly referred to as a data structure server because keys can contain strings, hashes, linked lists, collections, and ordered combinations. It supports a large number of stored value types, including string, list, set, Zset. These data types support Push/pop, Add/remove, and intersection and assembly and richer operations, and Redis supports sorting in a variety of different ways. To ensure efficiency, the data is cached in memory, and it can periodically write updated data to disk or write modifications to the appended record file.

    • Redis Use Cases

Take up the latest n data operations, leaderboard applications, top n operations, applications that need to set the expiration time accurately, counter applications, uniq operations, get all data dump values for a certain period of time, real-time systems, anti-spam systems, pub/sub build real-time messaging systems, build queue systems, caches, and more.

    • The similarities and differences between Redis and MySQL

Both Redis and MySQL have the concept of a library. MySQL has the concept of a table, there is the concept of a field, there is the concept of a row, Redis does not exist the concept of a table, there is no field, row, column concept.

First knowledge of Redis

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.