Alluxio TieredStore Configuration
Alluxio is one of the distributed cache engines leveraged by Fluid. It supports tieredstores to store cached data in different location, for example different directories with different storage types. By appropriate configurations on tieredstores, users can get better I/O throughput from Fluid and eliminate bottlenecks when accessing data.
The guide introduces you how to configure Alluxio's tieredstore in a declarative way in Fluid.
To get more tech detail about Alluxio's tieredstore, please refer to Cache-related docs offered by Alluxio
Prerequisites
- Fluid(version >= 0.3.0)
Please refer to Fluid installation documentation to complete installation.
Single-Tier Configuration
Here is an typical example for an AlluxioRuntime:
apiVersion: data.fluid.io/v1alpha1
kind: AlluxioRuntime
metadata:
name: dataset
spec:
...
tieredstore:
levels:
- path: /dev/shm
mediumtype: MEM
quota: 2Gi