<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I am sure it will overwrite old data if it becomes full. The other thing I was mis-remembering. Here is an excerpt from the wiki.<div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><p style="line-height: 1.25em; max-width: 64em; ">There isn't a "rule of thumb" when picking an expiration time. Sit back and think about your users, and what your data is. How long can you go without making your users angry? Be honest with yourself, as "THEY <i>ALWAYS</i> NEED FRESH DATA" isn't necessarily true.</p><p style="line-height: 1.25em; max-width: 64em; ">Expiration times can be set from <tt style="font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; font-size: 12px; max-width: 66em; ">0</tt>, meaning "never expire", to 30 days. Any time higher than 30 days is interpreted as a unix timestamp date. If you want to expire an object on january 1st of next year, this is how you do that.</p><div><br></div><div><span class="Apple-style-span" style="font-family: Helvetica; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: medium; ">And the wiki link.</span></div><div><span class="Apple-style-span" style="font-family: Helvetica; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: medium; "><br></span></div><div><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: medium;"><a href="http://code.google.com/p/memcached/wiki/NewProgramming#Expiration">http://code.google.com/p/memcached/wiki/NewProgramming#Expiration</a></span></font></div><div><br></div><div>Richard</div><div><br></div></span><div><div>On Apr 20, 2011, at 10:14 AM, Brett Nemeroff wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote">On Wed, Apr 20, 2011 at 9:09 AM, Richard Revels <span dir="ltr"><<a href="mailto:rrevels@bandwidth.com">rrevels@bandwidth.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">Forever is a long time. If memcached fills up it will start booting out old entries to allow new ones to be stored. I seem to remember there being a month time limit on entries as well but that might be only if you are setting a timeout value. Too bad I can't used memcache to replace my feeble memory...<div>
<br></div></div></blockquote><div><br></div><div>Richard,</div><div>Are you sure about that? I don't remember memcache having that problem. I certainly don't remember any kind of "default" time limit. </div>
</div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br></blockquote></div><br></div></body></html>