Home > Blockchain >  Is PHP Memcached thread safe?
Is PHP Memcached thread safe?

Time:07-06

Should I be worried about one script modifying a "Memcached" entry while another is reading it?

I didn't find nothing in the official documentation.

CodePudding user response:

Yes, it is threadsafe. It is based on libmemcached which itself states as threadsafe in the documentation.

Both memcached_pool_release() and memcached_pool_fetch() are thread safe.

  • Related