Welcome! Log In Create A New Profile

Advanced

Re: SlowFS Cache or Proxy_Cache for GridFS

Elena Zwetkow
February 22, 2011 03:02AM
Hi,

> AFAIK it still uses the Mongo-provided C library, which is blocking, so
> you'll lose many of the benefits of Nginx's performance.

> Marcus.

Thanks for the hint. Blocking sounds not good, i found some threads about issues with gridfs.

> GridFS does not use the upstream, if it did then it'd be
> easy to hack a cache. You could use memcache and srcache.

Thanks for this option, is memcache really a good option for caching
images?

What do you think about such a configuration?


proxy_cache_path /data/http levels=1 keys_zone=httpcache:2048m;

server {
listen 80;
location / {
proxy_cache httpcache;
proxy_cache_valid 1d;
proxy_cache_key $request_uri;
proxy_pass http://127.0.0.1:81;
}
}

server {
listen 81;
location / {
gridfs mediadb field=filename type=string;
}
}
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

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

SlowFS Cache or Proxy_Cache for GridFS

Elena Zwetkow February 21, 2011 12:00PM

Re: SlowFS Cache or Proxy_Cache for GridFS

Akins, Brian February 21, 2011 12:06PM

Re: SlowFS Cache or Proxy_Cache for GridFS

Eugaia February 21, 2011 12:40PM

Re: SlowFS Cache or Proxy_Cache for GridFS

Elena Zwetkow February 22, 2011 03:02AM

Re: SlowFS Cache or Proxy_Cache for GridFS

Piotr Sikora February 22, 2011 03:10AM

Re: SlowFS Cache or Proxy_Cache for GridFS

Elena Zwetkow February 22, 2011 03:22AM

Re: SlowFS Cache or Proxy_Cache for GridFS

Eugaia February 22, 2011 07:28AM

Re: SlowFS Cache or Proxy_Cache for GridFS

Akins, Brian February 22, 2011 06:16PM

Re: SlowFS Cache or Proxy_Cache for GridFS

Elena Zwetkow February 23, 2011 11:00AM

Re: SlowFS Cache or Proxy_Cache for GridFS

reviyou April 12, 2014 12:17PM

Re: SlowFS Cache or Proxy_Cache for GridFS

roberto April 12, 2014 12:26PM

Re: SlowFS Cache or Proxy_Cache for GridFS

reviyou April 14, 2014 12:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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