title: Redis performance with 100,000 writes
body: <p>According to Redis documentation: </p>
  
  <p><code>Remember that with commodity hardware Redis is able to handle 100.000 writes per second. That's enough even for Twitter, I guess.</code></p>
  
  <p>My PC configuration is:</p>
  
  <p>CPU: Ci7 1.5GHz<br>
  RAM: 4GB. never goes to max usage!!<br>
  OS: Win7</p>
  
  <p>on my localhost, I tested 100.000 <code>SADD</code> OR <code>set</code> with this script in PHP:</p>
  
  <pre><code>for ($i=0; $i &lt; 100000; $i++) { 
      Redis::set( 'log:'.$i, $i );
  }
  </code></pre>
  
  <p>But this takes <code>30 seconds</code> to finish. Why?!</p>