Quantcast
Channel: PHPExcel Forum Rss Feed
Viewing all articles
Browse latest Browse all 2707

New Post: Will your keys used in memcache get any conflicts with my keys if i set cache_to_memcache ?

$
0
0

if i do like this:

/*
$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_memcache;
$cacheSettings = array( 'memcacheServer'  => 'localhost',
                        'memcachePort'    => 11211,
                        'cacheTime'       => 600
                      );
PHPExcel_Settings::setCacheStorageMethod($cacheMethod, $cacheSettings);
*/
We all know that in memcache,we store things with a unique key like:(key_apple,value_apple)


 

1: will the keys  used in the cache mechanism above get any conflicts if i have already used memcache ?

2:Will the object in the memcache be called many times ?  This will perform bad if it takes many trips between memcache memory and  the real memory .

If a thousand users will do something using cache_to_memcache  at the same time and the cache_to_memcache makes the object of each cell travel so many times in the memory,

that will be a disaster to me!!


Viewing all articles
Browse latest Browse all 2707

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>