I learned how to use redis with PHP, but I don’t know the difference and usage scenarios of memcached. Is the project large enough and needs to be mixed? I’m a bit confused as I haven’t learned memcached yet
I learned how to use redis with PHP, but I don’t know the difference and usage scenarios of memcached. Is the project large enough and needs to be mixed? I’m a bit confused as I haven’t learned memcached yet
The answer is: No need
Because Redis covers all its functions and is better than it.
If you stand at the application level and know how to use Redis, memcache can be integrated.
After all, "caching" technology is only part of the functions in Redis. Redis can also: bucket, queue, atom, master-slave, etc.
Looks like you are a newbie, I suggest you try it out to increase your knowledge base.
It’s necessary, the usage scenarios of the two are different
It depends on what the company uses
Don’t overwhelm yourself with too many skills. If you learn more about one type of cache, you will learn to compare and improve your understanding of the other