Home  >  Article  >  Backend Development  >  memcached - Is it necessary to learn to use memcache when using redis in Php?

memcached - Is it necessary to learn to use memcache when using redis in Php?

WBOY
WBOYOriginal
2016-12-01 00:25:341115browse

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

Reply content:

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn