Welcome! Log In Create A New Profile

Advanced

Re: How to set html files into memcache

agentzh
June 17, 2012 11:44PM
Hello!

On Mon, Jun 18, 2012 at 6:20 AM, amodpandey <nginx-forum@nginx.us> wrote:
> Thank you Agentzh.
>

Please do not capitalize my nick. Thank you.

> I did a test with a simple set up. Amazon large machine with nginx
> sering a file from disk and in another set-up serving teh same file from
> a local memcached. To my surprise I do not see any difference in the
> performance. They were equal. So given the complexity of memcache in
> between I see not having memcache is better.
>

It's very likely that your cache does not work at all :) Please ensure
that the cache hit rate on your side is not zero :)

The following slide shows how ngx_srcache + ngx_memc performs on
Amazon EC2's standard *Small* instance for caching small resultsets (a
single-line resultset) from a MySQL custom cluster:

http://agentzh.org/misc/slides/libdrizzle-lua-nginx/#84

And below is the result for caching big resultsets (100KB) in exactly
the same setup:

http://agentzh.org/misc/slides/libdrizzle-lua-nginx/#85

You can walk through all the remaining slides in the same place to
learn more about ngx_srcache and ngx_memc in your web browser by using
the pagedown/pageup keys on your keyboard.

Regards,
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to set html files into memcache

amodpandey June 16, 2012 06:11PM

Re: How to set html files into memcache

agentzh June 17, 2012 03:04AM

Re: How to set html files into memcache

amodpandey June 17, 2012 08:06AM

Re: How to set html files into memcache

agentzh June 17, 2012 10:12AM

Re: How to set html files into memcache

amodpandey June 17, 2012 06:20PM

Re: How to set html files into memcache

amodpandey June 19, 2012 10:00PM

Re: How to set html files into memcache

agentzh June 17, 2012 11:44PM

Re: How to set html files into memcache

agentzh June 20, 2012 02:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 281
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