What are the advantages of redis high-concurrency database storage?

Source: Internet
Author: User
What are the advantages of redis high-concurrency database storage? What are the advantages of redis high-concurrency database storage?

For example, there are 1 million databases stored in the database
Redis first saves pieces of data to the memory and then asynchronously stores the data to the database.
But is it different from direct storage ..... Saving Him to memory first doesn't it increase overhead?


Reply to discussion (solution)

Redias can be used for concurrency because it uses a queue.

Concurrent writes to the database, do you think your server can resist?
One write file and one write memory
Which one do you say is highly efficient?

Redis is a single-process, single-thread mode. it uses the queue mode to change concurrent access to serial access.

Redis itself is a database, so "then asynchronously stored into the database" does not exist.

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.