Home / Companies / Qovery / Blog / Post Details
Content Deep Dive

3 ways of cloning an application and a database per git branch

Blog post from Qovery

Post Details
Company
Date Published
Author
Romaric Philogène
Word Count
857
Company Posts That Month
59
Language
English
Hacker News Points
-
Post removed?
No
Summary

Feature branching, a development practice where each feature is developed in its own branch, faces challenges when applied to stateful applications that rely on a shared database, potentially violating the isolation principle and causing data safety issues. To address this, the article explores the concept of maintaining separate database copies for each branch, offering three approaches: manual, partially automated, and fully automated, each with its pros and cons. The manual approach involves configuring services and databases manually, which is fast to start but difficult to maintain. The partially automated approach, suitable for large corporations, automates some configurations using tools like Terraform but requires significant setup and maintenance. The fully automated approach, exemplified by Qovery, allows seamless application and database duplication for each branch, adhering to the feature branching concept without changing developer habits, though it requires knowledge of Dockerfile creation and is limited to certain platforms and repositories.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Observability 2 857 161 53 +17%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.