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.