Roberto, you may want to look at how innodb manages its buffer pool, it
seems like a pretty sane caching algorithm.
http://dev.mysql.com/doc/refman/5.0/en/innodb-buffer-pool.html

On Tue, Dec 14, 2010 at 1:31 PM, Roberto De Ioris <[email protected]> wrote:

>
> > Hello Roberto,
> >
> > sorry found expire thing.
> >
> > so if no free slots, then most not used will be used - right?
>
> Yes, but you give me an interesting idea:
>
> removing less used item when the cache is full
>
> (this is a work that the master process can do very easily as it already
> delegated to remove expired items)
>
>
> --
> Roberto De Ioris
> http://unbit.it
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>



-- 
Thanks,

Richard Shade
Integration Engineer
RightScale - http://www.rightscale.com/
phone: 8055004164x1018
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to