Novice Ask memcached two basic questions? Ask!
1.memcached inside the data save time I set to 1 hours, then I restart a memcached service, found that the data are all lost, ask this fundamental reason?
2. Have you heard that Redis is a bull? Which do enterprises generally use now? Which is good? What is the current situation?
Share to:
------Solution--------------------
Memcached does not back up the data to the hard disk, restart the data naturally No
Redis backs up the data to the hard disk
Both require a limited amount of memory on the server, so you need to allocate memory wisely
Unless you give up the "relational database", you'll be manipulating both databases at the same time, just in vain to increase your system overhead.
In fact, MySQL also supports memory-based tables, performance is no worse than their
------Solution--------------------
Memcached is more about resolving data sharing across multiple servers
Lao Xu said the memory table is really great ...