strmvol volume overview
You can use strmvol volumes to mount Object Storage Service (OSS) data through virtual block devices. This improves the read performance in scenarios where ultra-large numbers of OSS objects are mounted.
Solution overview
OSS supports massive data storage and the pay-as-you-go billing method, and provides convenient access features based on the HTTP protocol. In containerized scenarios, a FUSE file system is usually used to mount OSS data. In small file reading scenarios, you can use the virtual block device solution to mount OSS data as strmvol volumes.
strmvol volumes enable OSS data access through virtual block devices. This solution resolves the performance bottlenecks at the FUSE intermediate layer and allows you to directly go to the storage driver layer to accelerate data access. This solution is ideal for scenarios where you need to quickly traverse millions of small files, such as loading AI training datasets and analyzing time series data.
Scenarios
If your business meets the following requirements, you can use the virtual block device solution (strmvol volumes).
The solution that uses FUSE is suitable for most scenarios. For more information, see Use an ossfs 1.0 statically provisioned volume, Use ossfs 1.0 dynamically provisioned volumes, and Use ossfs 2.0 volumes.
Data is stored in OSS buckets and does not need to be updated during business running.
Your business is not sensitive to the extended information of the file system.
Read-only scenarios, especially those that involve numerous small files or random reads.
How to use strmvol volumes
Before you use strmvol volumes, you must install the strmvol-csi-driver component on the Marketplace page in the Container Service for Kubernetes (ACK) console. After you deploy strmvol-csi-driver, the following resources are created.
Resource name | Resource type | Feature |
strmvold | DaemonSet | Manages the virtual block devices on the node. |
strmvol-csi-plugin | DaemonSet | Implements strmvol volume mounting and unmounting. |
strmvol-csi-provisioner | Deployment | Implements dynamic strmvol volume creation. |