architecture6 min read

How StepFun Scaled Multimodal AI Storage Beyond 10,000 Clients with Kubernetes and TiKV

  • Kubernetes
  • TiKV
  • JuiceFS

AI Summary

StepFun built a unified multimodal AI storage architecture using Kubernetes, TiKV, and JuiceFS to handle hybrid and multi-cloud environments. By optimizing metadata caching, container storage automation, and multi-level caching for safetensors files, the company scaled past 10,000 clients, improved targeted read-only operations by 50%, and reduced read amplification by roughly 71%.

Key Takeaways

  • Metadata performance bottlenecked at 2,000 to 3,000 clients due to NVMe saturation on TiKV instances.
  • Optimized background scanning, metadata caching, and read-only transactions, contributing improvements upstream to JuiceFS 1.3.
  • Implemented a customized CSI DaemonSet to auto-detect node hardware and configure mount parameters dynamically.

Why it matters

As large language and multimodal models scale, storage bottlenecks around metadata performance and model loading become severe. This case study demonstrates concrete methods for scaling distributed file systems and reducing read amplification in high-concurrency GPU environments.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.