title: spymemcached client : how to increase the speed of get method
body: <p>I am working with spymemcached client and followed the following tutorial</p>
  
  <p><a href="http://code.google.com/p/spymemcached/wiki/SpringIntegration" rel="nofollow">http://code.google.com/p/spymemcached/wiki/SpringIntegration</a></p>
  
  <p>In the following code, I set 10 objects in the cache</p>
  
  <pre><code>  for (int i = 0; i &lt;  10; i++) 
          memcache.set(Integer.toString(i), 86400, "this is a test " + i);
  </code></pre>
  
  <p>But when I am trying to retrieve them back with </p>
  
  <pre><code>   for (int i = 0; i &lt;  10; i++) {
          memcache.get(Integer.toString(i));
  </code></pre>
  
  <p>To my surprise, it is taking quite a bit. I would like to know how I can optimize the speed of objects that I wanted to retrieve from cache.</p>
  
  <p>I have also tried <a href="http://code.google.com/p/spymemcached/wiki/Examples" rel="nofollow">http://code.google.com/p/spymemcached/wiki/Examples</a> but it did not help.</p>
  
  <p>I have four boxes which I am utilizing as memcached servers. </p>