blob: 03b8194b4c0c07ddf8e95325bedf101f0902ecf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# NUFA Translator
The NUFA ("Non Uniform File Access") is a variant of the DHT ("Distributed Hash
Table") translator, intended for use with workloads that have a high locality
of reference. Instead of placing new files pseudo-randomly, it places them on
the same nodes where they are created so that future accesses can be made
locally. For replicated volumes, this means that one copy will be local and
others will be remote; the read-replica selection mechanisms will then favor
the local copy for reads. For non-replicated volumes, the only copy will be
local.
## Interface
Use of NUFA is controlled by a volume option, as follows.
gluster volume set myvolume cluster.nufa on
This will cause the NUFA translator to be used wherever the DHT translator
otherwise would be. The rest is all automatic.
|