Build a stable development and test environment

1. General development and testing online environment structure:

multiple sets of development environments ----> multiple sets of test environments ----> multiple sets of pre-release environments ----> online environment


2. Common problems of development environment:
1. The code, configuration, table structure in the development environment cannot be synchronized
with the online environment in a timely manner Not enough 3. The database corresponding to the development environment, along with the development process, there are changes to local data tests. Over time, the
database will become unavailable, and it will become more and more difficult to maintain
3.



Solutions:
1. Regular backup of database mirroring, daily | weekly | monthly
2. Database initialization function, rich account creation, basic target data scripts and other tools
3. Stable stg environment, small test environment The independent version of each test environment refers to the stg environment, and the concept of groups is used to prevent disturbing the stg environment
4.


CI tools, which are convenient for applying for machines, deploying new environments, automatic deployment and other functions 2. Tools such as nginx reverse proxy3. Tools such as dubbo service governance4. Container tools such as docker5. Operation and maintenance tools such as CI6 . Environmental monitoring tools such as zabbix Comprehensive quality of personnel






Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326979238&siteId=291194637