Building Real-Time Feature Stores: Architecture Patterns and Trade-offs at Scale

DOI:

https://doi.org/10.63646/SMZW5594

Keywords:

feature store, MLOps, real-time ML, Lambda architecture, Kappa architecture, feature serving, ML infrastructure

Abstract

Feature stores have emerged as a critical component of production machine learning infrastructure, providing a layer of abstraction between raw data and model training and serving that addresses the dual challenges of feature reuse and online/offline consistency. Despite their growing adoption, the design space for feature stores is poorly mapped in the academic literature, with most detailed discussions confined to engineering blog posts and conference talks from technology companies. This technical communication systematises the feature store design space through a taxonomy of five architectural patterns — Lambda architecture, Kappa architecture, pre-computed offline-only, on-demand online-only, and hybrid push-pull — and provides quantitative comparisons of each pattern across four operational dimensions: latency, throughput, freshness, and operational complexity. We describe our experience migrating from a Lambda-based feature store to a hybrid push-pull architecture serving over 800 models and 15,000 feature definitions at Rakuten Group, report on the specific engineering trade-offs encountered, and provide a decision framework for architecture selection based on feature type and serving latency requirements.

How to Cite

Zheng, L., & Zhang, M. (2026). Building Real-Time Feature Stores: Architecture Patterns and Trade-offs at Scale. DATAMIND, 4(1), 92-96. https://doi.org/10.63646/SMZW5594

References

Meng, X., Bradley, J., Yavuz, B., Sparks, E., Venkataraman, S., Liu, D., & Xin, R. (2016). MLlib: Machine learning in Apache Spark. Journal of Machine Learning Research, 17(34), 1–7. https://jmlr.org/papers/v17/15-237.html

Zaharia, M., Chowdhury, M., Das, T., Dave, A., Ma, J., McCauly, M., & Stoica, I. (2012). Resilient distributed datasets: A fault-tolerant abstraction for in-memory cluster computing. NSDI 2012, 2–2. https://www.usenix.org/conference/nsdi12/technical-sessions/presentation/zaharia

Kreps, J., Narkhede, N., & Rao, J. (2011). Kafka: A distributed messaging system for log processing. NetDB Workshop, 1–7. http://notes.stephenholiday.com/Kafka.pdf

Carbone, P., Katsifodimos, A., Ewen, S., Markl, V., Haridi, S., & Tzoumas, K. (2015). Apache Flink: Stream and batch processing in a single engine. IEEE Data Engineering Bulletin, 38(4), 28–38. https://asterios.katsifodimos.com/assets/publications/flink-deb.pdf

Sculley, D., Holt, G., Golovin, D., Davydov, E., Phillips, T., Ebner, D., & Young, M. (2015). Hidden technical debt in machine learning systems. Advances in Neural Information Processing Systems, 28. https://proceedings.neurips.cc/paper/2015/hash/86df7dcfd896fcaf2674f757a2463eba-Abstract.html

Ghemawat, S., Gobioff, H., & Leung, S. T. (2003). The Google file system. Proceedings of SOSP 2003, 29– 43. https://doi.org/10.1145/945445.945450

Nathan, M., Warren, J., & Marz, N. (2015). Big data: Principles and best practices of scalable real-time data systems. Manning. https://www.manning.com/books/big-data

Meeng, M., & Feelders, A. (2021). Feature engineering for real-time recommender systems. ACM RecSys 2021, 580–585. https://doi.org/10.1145/3460231.3478860

Hafner, D., Lillicrap, T., Fischer, I., Villegas, R., Ha, D., Lee, H., & Davidson, J. (2019). Learning latent dynamics for planning from pixels. In Proceedings of the 36th International Conference on Machine Learning (PMLR 97, pp. 2555–2565). https://proceedings.mlr.press/v97/hafner19a.html

Kleppmann, M., Beresford, A. R., & Svingen, B. (2019). Online event processing. ACM Queue, 17(1), 116–136. https://doi.org/10.1145/3317287.3321612