Under what circumstances is the redis database used? What kind of database is suitable for redis? Under what circumstances is the redis database used? What kind of database is suitable for redis? ------ Solution -------------------- redis is a key-value storage system. Similar to Memcached, Memcached supports more storage value types, including string, list, and redis databases? What kind of database is suitable for redis?
Under what circumstances is the redis database used? What kind of database is suitable for redis?
------ Solution ----------------------
Redis is a key-value storage system. Similar to Memcached, Memcached supports more storage value types, including string, list, set, and zset) and hash (hash type ). I am generally used in scenarios where real-time data is strong and databases are frequently inserted, updated, or deleted. Reduce database operations
------ Solution ----------------------
Redis is based on memory and hard disk
Memcache is completely memory-based
Therefore, redis can be used as a database.
------ Solution ----------------------
Redis is a persistent data volume and can be used as a data volume.
Internal storage + hard memory