# A web cache system base on nginx web server. faster and more efficient than squid

**URL:** <https://www.ruby-forum.com/t/a-web-cache-system-base-on-nginx-web-server-faster-and-more-efficient-than-squid/126422>\
**Category:** NGINX\
**Created:** [January 18, 2008, 4:35am UTC](https://www.ruby-forum.com/t/a-web-cache-system-base-on-nginx-web-server-faster-and-more-efficient-than-squid/126422 "2008-01-18T04:35:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SSSSS\_S\_SSSSSSSSS\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/eada6e/32.png) [@SSSSS\_S\_SSSSSSSSS\_S](https://www.ruby-forum.com/u/SSSSS_S_SSSSSSSSS_S)\
**Post date:** [January 18, 2008, 4:35am UTC](https://www.ruby-forum.com/t/a-web-cache-system-base-on-nginx-web-server-faster-and-more-efficient-than-squid/126422/1 "2008-01-18T04:35:43Z")

</div>

[http://code.google.com/p/ncache/](http://code.google.com/p/ncache/)  
What is ncache?

a web cache system base on nginx web server. faster and more efficient  
than  
squid.

we have published a release version  
1.2[http://ncache.googlecode.com/files/ncache-1.2.tar.gz](http://ncache.googlecode.com/files/ncache-1.2.tar.gz)now, you can  
see the change log  
here [http://code.google.com/p/ncache/wiki/NCacheChangeLog](http://code.google.com/p/ncache/wiki/NCacheChangeLog).

and we will maintain it be fresh.

you can also visit here by [http://www.ncache.org](http://www.ncache.org) or  
[http://ncache.googlecode.com](http://ncache.googlecode.com)

and left your message here [http://groups.google.com/group/ncache-group](http://groups.google.com/group/ncache-group)

there is also have some BUGS, so if you find it please tell us, thanks  
alot.

removed\_email\_address@domain.invalid removed\_email\_address@domain.invalid

removed\_email\_address@domain.invalid removed\_email\_address@domain.invalid  
Features

- The large storage can save over 30,000,000 caches

- The self sort share memory hash index

- Use linux epoll, sendfile and aio to improve the performance

- Base on the fastest web server framework : nginx

- The high throughput and high concurrent volume of the cache request

- Without http headers cache

- Low cpu cost and low iowait

Future

- The aio\_sendfile function

- Compress share memory hashmap index

- Memory cache the hottest data

- Raw device read and write

- Distribute storage system

- Aio queue with lio\_listio function

How to use?

You can see it on the wiki paper  
here[http://code.google.com/p/ncache/wiki/HowToUseNCache](http://code.google.com/p/ncache/wiki/HowToUseNCache).

Problem yet~

- The memory cache elimination algorithm is not very mature so we  
will  
add this function at next version.

- only support on linux 2.6 up.

- do not have enough information about the Run-time statistics

---

<div class="post-metadata">

**Author:** ![SSSSS\_S\_SSSSSSSSS\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/eada6e/32.png) [@SSSSS\_S\_SSSSSSSSS\_S](https://www.ruby-forum.com/u/SSSSS_S_SSSSSSSSS_S)\
**Post date:** [January 18, 2008, 10:13am UTC](https://www.ruby-forum.com/t/a-web-cache-system-base-on-nginx-web-server-faster-and-more-efficient-than-squid/126422/2 "2008-01-18T10:13:15Z")

</div>

Hi,

On Fre 18.01.2008 11:26, ??? wrote:

> [Google Code Archive - Long-term storage for Google Code Project Hosting.](http://code.google.com/p/ncache/)  
> What is ncache?
> 
> a web cache system base on nginx web server. faster and more efficient  
> than squid.

Cool 😉

> and left your message here  
> [http://groups.google.com/group/ncache-group](http://groups.google.com/group/ncache-group)
> 
> there is also have some BUGS, so if you find it please tell us, thanks  
> alot.

Nice work 😉

Have you try to merge it with the current development tree?!

Cheers

Aleks

---

<div class="post-metadata">

**Author:** ![SSSSS\_S\_SSSSSSSSS\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/eada6e/32.png) [@SSSSS\_S\_SSSSSSSSS\_S](https://www.ruby-forum.com/u/SSSSS_S_SSSSSSSSS_S)\
**Post date:** [January 21, 2008, 4:20pm UTC](https://www.ruby-forum.com/t/a-web-cache-system-base-on-nginx-web-server-faster-and-more-efficient-than-squid/126422/3 "2008-01-21T16:20:06Z")

</div>

cool stuff. On what version of nginx is it based?

Cheers,
