Which is better for Memcahe and file caching in a high concurrency state?

I read the answer on the forum and tested it myself. If I test the file by myself, the speed of the file is really fast, but when there are many visitors to the website, is the difference between file cache and Memcahe still the same?
I Xiaobai knows that Memcahe is stored in memory, so file caching requires the program to open the file 100 times and then close it when 100 people visit it. Which is more advantageous compared with Memcahe?

Mar.06,2021

needless to say, definitely memcache, things that access memory must be faster than your files

Menu