Long Live The Image: Container-Native Data Persistence in Production
Zheng Li

TL;DR
This paper introduces a container-native data persistence approach that separates stateless data access from stateful processing, enabling efficient, portable, and consistent database containers suitable for production environments with specific use cases.
Contribution
It proposes a novel architecture that distinguishes stateless and stateful database operations, improving container portability and performance in production scenarios.
Findings
Suitable for read-only, eventual consistency, and asynchronous processing
Performance gains from disabling locking and preloading database dumps
Delays in data update propagation are manageable in specific scenarios
Abstract
Containerization plays a crucial role in the de facto technology stack for implementing microservices architecture (each microservice has its own database in most cases). Nevertheless, there are still fierce debates on containerizing production databases, mainly due to the data persistence issues and concerns. Driven by a project of refactoring an Automated Machine Learning system, this research proposes the container-native data persistence as a conditional solution to running database containers in production. In essence, the proposed solution distinguishes the stateless data access (i.e. reading) from the stateful data processing (i.e. creating, updating, and deleting) in databases. A master database handles the stateful data processing and dumps database copies for building container images, while the database containers will keep stateless at runtime, based on the preloaded dump in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware System Performance and Reliability · Cloud Computing and Resource Management · IoT and Edge/Fog Computing
