JuiceFS at Zhiqi Robotics: 99.96% cache hit rate and 99.92% fewer small files in embodied AI storage
Shared cache hit rates above 99% and a hundredfold cut in small files make JuiceFS viable for robot training workloads that previously fought object stores and cross-node scheduling. The post documents specific failure modes and fixes, like separating background reclamation from business mounts and bypassing the control-plane VIP for MinIO requests, that apply to any large-scale Kubernetes + object storage environment.
Zhiqi Robotics, which builds an embodied intelligence data platform called Dayan for robot R&D, standardized on JuiceFS as a unified file access layer over MinIO object storage. The platform collects ROS bags, video, and trajectories from teleoperation, motion capture, and wearable skill suits, then processes them through cleaning, frame extraction, annotation, and retrieval before model training. The original object storage handled persistence but faltered on directory traversal, random reads, and the flood of small files from video frame extraction. With JuiceFS, edge collectors upload via the S3 Gateway, while Kubernetes pods mount the filesystem through CSI and read with POSIX interfaces.
Production numbers are strong: a 7-day median cache hit rate around 99.96%, hot read throughput about 3x that of s3fs, and no more training tickets about data retrieval speed. The architecture uses Redis for metadata, MinIO for persistent objects, and GPFS as a shared cache across nodes. A key move was pointing all Mount Pods' cache-dir to the same GPFS directory, so data blocks written by one node can be reused by others, avoiding repeated downloads across Kubernetes scheduling. The team reports five production practices: recovering from a GPFS shared cache failure where reads hung, cutting small file counts by 99.92% with FrameRecord packetization, isolating metadata backup from online mounts to fix checkpoint fsync timeouts, separating background reclamation from business mounts to survive deletion storms, and shortening the object request path by making MinIO endpoints directly resolvable via DNS.