Welcome! Log In Create A New Profile

Advanced

Re: port 11211 (memcached default) not open

Nguyen Viet Cuong
December 28, 2009 02:30AM
Hi Dounin,

Thx for your link. Linux has a nearly the same mechanism.
However, if the files needed to cache are not physical files, such as
avatars stored as BLOB in MySQL of vBulletin, I think memcached is a good
solution.

--
Nguyen Viet Cuong


On Mon, Dec 28, 2009 at 9:49 AM, Maxim Dounin <mdounin@mdounin.ru> wrote:

> Hello!
>
> On Mon, Dec 28, 2009 at 08:57:29AM +0900, Nguyen Viet Cuong wrote:
>
> > In our system, we have used memcached in the same way as Danny Trinh do.
> > Recently, I have tried to use a portion of memory for storing cache files
> by
> > mount /dev/shm to some point on filesystem. However, you said that:
> >
> > Also, you probably want to know that on modern operating
> > > systems it is usually bad idea to place files into memory
> > > explicitly. Virtual memory subsystem will do it automatically as
> > > long as you have spare memory on your server, and will likely do
> > > it better than may be done by hand.
> > >
> >
> > I do not know anything about this automatic mechanism.
> > Could you explain more about this? Or could you give me some links?
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM
>
> In FreeBSD it's about 15 years now all available memory are used
> as disk cache (as disk cache actually integrated with VM system).
> And I belive Linux does the same for a while, too. Exact
> algorithms used vary.
>
> Maxim Dounin
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

port 11211 (memcached default) not open

danny December 27, 2009 05:46PM

Re: port 11211 (memcached default) not open

Maxim Dounin December 27, 2009 06:40PM

Re: port 11211 (memcached default) not open

Nguyen Viet Cuong December 27, 2009 07:02PM

Re: port 11211 (memcached default) not open

Maxim Dounin December 27, 2009 07:54PM

Re: port 11211 (memcached default) not open

Nguyen Viet Cuong December 28, 2009 02:30AM

Re: port 11211 (memcached default) not open

Yuval Hager December 29, 2009 03:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 174
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready