Changed the wordpress-memcached-backend backend to use Memcached ver. 2.2.0 PECL package with SASL authentication support, to implement WP Object Cache.
Inehernt support for Memcached Cloud on Heroku and AppFog- just add the Memcached Cloud add-on.
We used the wordpress-memcached-backend, so all credit goes to Zack Tollman.
1.
wp_cache_set('key', 'val');
wp_cache_get('key');
2.
wp_cache_set_multi (
array ( 'key1' => 'val1', 'key2' => 'val2', 'key3' => 'val3' ),
'group1'
);
wp_cache_get_multi (
array ( 'key1', 'key2' ),
'group1'
);