Memcache dont throw cached entires after seconds expiration

2009-11-07 Thread Franko Goebls

Hello,
I have using memcached for long without problems, very low memory
usage, but lately i added new functionalisty.

Search results are stored in memory (not in DB) and should be expired
(removed from memcached) after 300 seconds. I do it like this:

$memcache->set("$search_id:".$userdata['session_id'], $resarr, false,
300);

and what? Well, look at this:
Item count: 3880
Age:1 day, 5 hours and 5 minutes
Evicted:No
Items: item
212318293:11a30117e173905208a1f96604042036,324909...etcetc

Not removed after 1 day 5 hours :F, hundreds of results like this
from this query are not removed, why is that? I do it properly from
what i know.

Used Cache Size 445.7 MBytes
Total Cache Size512.0 MBytes

Entires are not removed so memory is filled up and important entries
are removed from cache to release memory but not important search
results should be removed after 300 secs, why they arent?


Stable release 1.4.3

2009-11-07 Thread dormando

Hey Hey,

As mildly promised, 1.4.3-final is out as of a few moments ago. Alas,
there were a few bugs that did not make it into the release, but we
managed to get almost all of them :)

http://code.google.com/p/memcached/wiki/ReleaseNotes143

... and at the same time, the new community homepage is up at:
http://www.memcached.org/

Later tonight or tomorrow, given there're still no major issues, the old
site at www.danga.com/memcached/ will redirect to www.memcached.org

Next release is due up in 5-6 weeks, depending on how much progress we
make around the holiday. Wiki will be getting a refresh over november as
well.

If you have feedback, want to help with documentation, have bugs, etc, you
know what to do :)

have fun,
-Dormando


Re: New memcached homepage!

2009-11-07 Thread dormando



On Sat, 7 Nov 2009, NICK VERBECK wrote:

>
> I love it. Glad to see an official logo, and great layout.
>
> Question on the logo. Are we free to use it or parts of it in our own open 
> sourse apps?

You can with permission. I need another day or two to get copies of
the logo separated from the banner, and figure out the licensing/etc.


Re: memcached sync back to postgres

2009-11-07 Thread Henrik Schröder
What do you want to accomplish?

If you want to write data to your postgres db every time you change the
cached data, then why not do so at the same time in your application?

Or did you have some other use-case in mind?


/Henrik

On Sat, Nov 7, 2009 at 14:43, Juan Backson  wrote:

> Hi,
>
> Is there anyway to have memcached to automatically sync data back to
> postgres?
>
> I know there is pgmemcache, but I am looking for something in the reverse
> direction.
>
> Is there any tool out there for this?
>
> Thanks,
> jb
>


Re: New memcached homepage!

2009-11-07 Thread NICK VERBECK
I love it. Glad to see an official logo, and great layout.

Question on the logo. Are we free to use it or parts of it in our own open
sourse apps?

On Nov 7, 2009 8:17 AM, "Abhinav Gupta" <4u.abhi...@gmail.com> wrote:

nice site we all will going to love it..  :)

On Sat, Nov 7, 2009 at 6:26 PM, Jimmy G  wrote: >
> > Looks great, love ...
-- 


"Start by doing what's necessary, then what's possible, and suddenly you are
doing the impossible."
=
Abhinav Gupta
Software Engineer @99acres.com


Re: New memcached homepage!

2009-11-07 Thread Abhinav Gupta
nice site we all will going to love it..  :)

On Sat, Nov 7, 2009 at 6:26 PM, Jimmy G  wrote:

>
> Looks great, love the critters!
>
>
> dormando wrote:
>
>>
>> Coinciding with the release of 1.4.3 tomorrow, we will be retiring the old
>> and tired http://danga.com/memcached homepage (archiving it, I guess). It
>> will redirect to http://memcached.org, which will have this new site:
>>
>> http://memcached.dormando.com/
>>
>> ... We've been passing the layout/ideas around, and it's time to open it
>> up to the rest of you folks. We'll take
>> comments/requests/updates/complaints for a day and, unless something
>> serious comes up, the site will go live tomorrow.
>>
>> Let us know especially if you love or hate the logo/banner. They were
>> redesigned to be more unique and ... interesting :) Beat out that old
>> green M thing and give us a mascot to work with.
>>
>> This is the final layout, except for two changes... Adding a sorted list
>> of committers to the bottom of the About page, and changing the urls to be
>> '/about/' instead of '/about'
>>
>> have fun,
>> -Dormando
>>
>>


-- 


"Start by doing what's necessary, then what's possible, and suddenly you are
doing the impossible."
=
Abhinav Gupta
Software Engineer @99acres.com


memcached sync back to postgres

2009-11-07 Thread Juan Backson
Hi,

Is there anyway to have memcached to automatically sync data back to
postgres?

I know there is pgmemcache, but I am looking for something in the reverse
direction.

Is there any tool out there for this?

Thanks,
jb


Re: New memcached homepage!

2009-11-07 Thread Jimmy G


Looks great, love the critters!

dormando wrote:


Coinciding with the release of 1.4.3 tomorrow, we will be retiring the old
and tired http://danga.com/memcached homepage (archiving it, I guess). It
will redirect to http://memcached.org, which will have this new site:

http://memcached.dormando.com/

... We've been passing the layout/ideas around, and it's time to open it
up to the rest of you folks. We'll take
comments/requests/updates/complaints for a day and, unless something
serious comes up, the site will go live tomorrow.

Let us know especially if you love or hate the logo/banner. They were
redesigned to be more unique and ... interesting :) Beat out that old
green M thing and give us a mascot to work with.

This is the final layout, except for two changes... Adding a sorted list
of committers to the bottom of the About page, and changing the urls to be
'/about/' instead of '/about'

have fun,
-Dormando



Re: New memcached homepage!

2009-11-07 Thread Toru Maesaka

Awesome!

On Sat, Nov 7, 2009 at 4:33 PM, dormando  wrote:
>
>
> Coinciding with the release of 1.4.3 tomorrow, we will be retiring the old
> and tired http://danga.com/memcached homepage (archiving it, I guess). It
> will redirect to http://memcached.org, which will have this new site:
>
> http://memcached.dormando.com/
>
> ... We've been passing the layout/ideas around, and it's time to open it
> up to the rest of you folks. We'll take
> comments/requests/updates/complaints for a day and, unless something
> serious comes up, the site will go live tomorrow.
>
> Let us know especially if you love or hate the logo/banner. They were
> redesigned to be more unique and ... interesting :) Beat out that old
> green M thing and give us a mascot to work with.
>
> This is the final layout, except for two changes... Adding a sorted list
> of committers to the bottom of the About page, and changing the urls to be
> '/about/' instead of '/about'
>
> have fun,
> -Dormando
>


Re: New memcached homepage!

2009-11-07 Thread Clint Webb
Haha.  Love it!

On Sat, Nov 7, 2009 at 4:15 PM, dormando  wrote:

> Rabbits :) (fast, `scalable`, stupid).
>
> On Sat, 7 Nov 2009, Clint Webb wrote:
>
> > I like it.   I really like the logo, and I like the banner image of the
> pack of animals (what are those things?).
> >
> >
> > On Sat, Nov 7, 2009 at 3:39 PM, dormando  wrote:
> >
> >   Ah, I forgot to note.
> >
> >   The "users" page is open for requests. If you're a bigish/notable
> site and
> >   would wish to be linked there, let me know by tomorrow! Otherwise
> I'm
> >   picking a bunch out of a hat.
> >
> >   Thanks,
> >   -Dormando
> >
> > On Fri, 6 Nov 2009, dormando wrote:
> >
> > >
> > >
> > > Coinciding with the release of 1.4.3 tomorrow, we will be retiring the
> old
> > > and tired http://danga.com/memcached homepage (archiving it, I guess).
> It
> > > will redirect to http://memcached.org, which will have this new site:
> > >
> > > http://memcached.dormando.com/
> > >
> > > ... We've been passing the layout/ideas around, and it's time to open
> it
> > > up to the rest of you folks. We'll take
> > > comments/requests/updates/complaints for a day and, unless something
> > > serious comes up, the site will go live tomorrow.
> > >
> > > Let us know especially if you love or hate the logo/banner. They were
> > > redesigned to be more unique and ... interesting :) Beat out that old
> > > green M thing and give us a mascot to work with.
> > >
> > > This is the final layout, except for two changes... Adding a sorted
> list
> > > of committers to the bottom of the About page, and changing the urls to
> be
> > > '/about/' instead of '/about'
> > >
> > > have fun,
> > > -Dormando
> > >
> >
> >
> >
> >
> > --
> > "Be excellent to each other"
> >
> >
>



-- 
"Be excellent to each other"


Re: New memcached homepage!

2009-11-07 Thread dormando
Rabbits :) (fast, `scalable`, stupid).

On Sat, 7 Nov 2009, Clint Webb wrote:

> I like it.   I really like the logo, and I like the banner image of the pack 
> of animals (what are those things?).
>
>
> On Sat, Nov 7, 2009 at 3:39 PM, dormando  wrote:
>
>   Ah, I forgot to note.
>
>   The "users" page is open for requests. If you're a bigish/notable site 
> and
>   would wish to be linked there, let me know by tomorrow! Otherwise I'm
>   picking a bunch out of a hat.
>
>   Thanks,
>   -Dormando
>
> On Fri, 6 Nov 2009, dormando wrote:
>
> >
> >
> > Coinciding with the release of 1.4.3 tomorrow, we will be retiring the old
> > and tired http://danga.com/memcached homepage (archiving it, I guess). It
> > will redirect to http://memcached.org, which will have this new site:
> >
> > http://memcached.dormando.com/
> >
> > ... We've been passing the layout/ideas around, and it's time to open it
> > up to the rest of you folks. We'll take
> > comments/requests/updates/complaints for a day and, unless something
> > serious comes up, the site will go live tomorrow.
> >
> > Let us know especially if you love or hate the logo/banner. They were
> > redesigned to be more unique and ... interesting :) Beat out that old
> > green M thing and give us a mascot to work with.
> >
> > This is the final layout, except for two changes... Adding a sorted list
> > of committers to the bottom of the About page, and changing the urls to be
> > '/about/' instead of '/about'
> >
> > have fun,
> > -Dormando
> >
>
>
>
>
> --
> "Be excellent to each other"
>
>

Re: New memcached homepage!

2009-11-07 Thread Clint Webb
I like it.   I really like the logo, and I like the banner image of the pack
of animals (what are those things?).


On Sat, Nov 7, 2009 at 3:39 PM, dormando  wrote:

>
> Ah, I forgot to note.
>
> The "users" page is open for requests. If you're a bigish/notable site and
> would wish to be linked there, let me know by tomorrow! Otherwise I'm
> picking a bunch out of a hat.
>
> Thanks,
> -Dormando
>
> On Fri, 6 Nov 2009, dormando wrote:
>
> >
> >
> > Coinciding with the release of 1.4.3 tomorrow, we will be retiring the
> old
> > and tired http://danga.com/memcached homepage (archiving it, I guess).
> It
> > will redirect to http://memcached.org, which will have this new site:
> >
> > http://memcached.dormando.com/
> >
> > ... We've been passing the layout/ideas around, and it's time to open it
> > up to the rest of you folks. We'll take
> > comments/requests/updates/complaints for a day and, unless something
> > serious comes up, the site will go live tomorrow.
> >
> > Let us know especially if you love or hate the logo/banner. They were
> > redesigned to be more unique and ... interesting :) Beat out that old
> > green M thing and give us a mascot to work with.
> >
> > This is the final layout, except for two changes... Adding a sorted list
> > of committers to the bottom of the About page, and changing the urls to
> be
> > '/about/' instead of '/about'
> >
> > have fun,
> > -Dormando
> >
>



-- 
"Be excellent to each other"