Increase cache lifetime on client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How can I prevent client to querying all glusterfs servers for updated
version of file and use version in a cache instead? I am using
glusterfs for webserving and even with opcode caching there are lots
of stat calls (it is nature of webapp I am running). I now myself when
I am updating code files and can invalidate cache with remounting or
by other way if it exist.

I am looking for client side option, not a volume/brick option as I
plan to mount some dirs in default mode and dont want to add more
complexity by adding another glusterfs volume.

In other words I want to prevent glusterfs of querying brick on every
request and use cached version instead. It is ok if such checks will
be once a min, but not on every request,please. Is it possible?


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux