title: Redis: set maximum number of elements of a set
body: <p>In redis, is it possible to set a maximum number of elements to a set so when one use the <code>sadd</code>, the redis server prevents the set from having more elements that a maximum amount? e.g. something like :</p>
  
  <pre><code>127.0.0.1:6379&gt; SETSIZE KEY 100
  </code></pre>
  
  <p>Thanks in advance.</p>