PHP memcached: getDelayed & getMulti - how to use?
- by Industrial
Hi everybody,
I have thought a bit recently about how to use getDelayed and getMulti in a PHP application, and their difference.
From reading the documentation about getDelayed:
  "The method does not wait for response
  and returns right away. When you are
  ready to collect the items, call
  either Memcached::fetch  or
  Memcached::fetchAll."
So obviously there's a need to call fetchAll before having the keys available, unlike getMulti. But when is the actual memcached call being done? 
At fetchAll or when getDelayed is run?