Any ideas how to cache Files stored in GridFS? Perhaps Proxy_Cache can Store
the files localy? Any Ideas are welcome.
Neither will work. Slowfs actually uses file system calls for the
“read”
part of the cache. GridFS does not use the upstream, if it did then it’d
be
easy to hack a cache. You could use memcache and srcache.
Any ideas how to cache Files stored in GridFS? Perhaps Proxy_Cache can Store the
files localy? Any Ideas are welcome.
If you are at all concerned about performance, you might want to think
about an alternative to using the gridfs module for Nginx. 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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.