[Gluster-devel] GlusterFS cache architecture
oleksandr at natalenko.name
Mon Aug 31 14:07:51 UTC 2015
I'm trying to investigate how GlusterFS manages cache on both server and
client side, but unfortunately cannot find any exhaustive, appropriate
to date information.
The disposition is that we have, saying, 2 GlusterFS nodes (server_a and
server_b) with replicated volume some_volume. Also we have several
(saying client_1 and client_2) that mount some_volume and do some
with files on it (lets assume some_volume contains web-related assets,
client_1/client_2 are web-servers). Also there is client_3 that does
related deploying on some_volume (lets assume that client_3 is
We would like to use multilayered cache scheme that involves filesystem
(on both client/server sides) as well as web server cache.
So, my questions are:
1) does caching-related items (performance.cache-size,
file-size, performance.cache-max-file-size etc.) affect server side
2) are there any tunables that affect client side caching?
3) how client-side caching (we are talking about read cache only, write
is not interesting to us) is performed (if it is at all)?
4) how and in what cases client cache is discarded (and how that relates
Ideally, there should be some documentation that covers general
Any info would be appreciated. Thanks.
Oleksandr post-factum Natalenko, MSc
More information about the Gluster-devel