Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Database \ How to test your MongoDB application upgrade?     - CentOS / Linux SWAP partitions added (Linux)

- Seven kinds of NIC binding mode Detail (Linux)

- Ubuntu install Eclipse for C / C ++ and related configuration (Linux)

- Spring Data JPA call a stored procedure examples (Programming)

- Gentoo: !!! existing preserved libs problem (Linux)

- To install Jetty server configuration in detail (Server)

- Simple Calendar C language (Programming)

- How to install open source ITIL portal iTOP on CentOS 7 (Server)

- top command causes the system load increases (Linux)

- Debian GNU / Linux service list acquisition, shutting down services or run (Linux)

- Linux installation is larger than 2TB (UEFI interface) hard disk solution (Linux)

- Installation JDK1.7 under Ubuntu14.04 64-bit (Linux)

- OpenSSL: implementation creates a private CA, certificate signing request Explanation (Server)

- Using PPA to install the lightweight theme software HotShots 2.1.0 under Ubuntu (Linux)

- OpenResty load balancing MySQL (Database)

- Docker build private warehouse (Server)

- A key installation Gitlab 7 on RHEL6.4 and Setup Mail TX (Linux)

- C ++ constant definition (Programming)

- Configuring Eclipse Note Templates (Linux)

- Nginx-1.9.7 TCP reverse proxy (Server)

  How to test your MongoDB application upgrade?
  Add Date : 2018-11-21      
  MongoDB you have chosen as your application database. You may already have a lot of production data in your database. Now you need to make your application a major version changes. How do you ensure that applications need to test a new version of your production data and running well?

Production data is always extremely diverse, and practice your test data have more border cases, thus leading to more BUG. Not recommended export production data to the test environment, due to the policy, privacy and security issues. In other words, identification and testing BUG in a production environment is very difficult. Therefore, how to ensure that the new version of the application runs well and production data it? The following points are recommended in the MongoDirector.

1. Safety first

Our first concern is the safety and security of production data. So we do not export any production data to our bench or test environment. We have plenty of "pseudo-production" environment - this is the same as a production environment, and the environment - the same size, the same security restrictions. However, it is temporary, only for the duration of the test.

2. Cloning production MongoDB clusters

We use the "clone" feature MongoDirector, creating a real-time production data of the copy, so the cloning operation is very short no effect on the production database. This gives us a "pseudo-production" database environment, the production environment and the same characteristics - the same data, the same machine size, the same security, the same cluster configuration.

3. Run the extensive testing

We ran extensive testing to ensure that the new version of the application data and not cause problems. Once we are satisfied, we will remove the "pseudo-production 'environment.

4. upgrade your production environment

Once we are satisfied with the test results, we continue to upgrade production environments. According to the characteristics you may upgrade it to a customer a.k.a A / B and the test.

About using MongoDB test application upgrades, you have another question? You have the tools, techniques or advice you want to share it? We will be happy to hear from you.
- Linux monitoring tools introduced series --smem (Server)
- CentOS modify yum update source (Linux)
- Linux System Getting Started Learning: From VirtualBox from the client host access NAT (Linux)
- Linux / Raspberry Pi using the following command-line based web browser (Linux)
- Installation and configuration of Hadoop under Linux (Server)
- Xtrabackup creates a slave node without downtime (Database)
- Oracle 11gr2 new APPEND_VALUES tips (Database)
- Installing Linux and Windows 10 dual system (Linux)
- independently configurable PHP environment under CentOS6.5 (Server)
- How to Upgrade Ubuntu GNOME 14.10 to GNOME 3.16 Desktop (Linux)
- The correct way of logical backup mysqldump (Database)
- Install MATE desktop environment adjustment tools Mate Tweak 3.3.6 (Linux)
- How comprehensive resist attacks from the network (Linux)
- Node.js form --formidable (Programming)
- CentOS 6.4 Python 2.6 upgrade to 2.7 (Linux)
- Scope of variables in C # (Programming)
- Install GAMIT / GLOBK 10.50 software under Ubuntu 14.04 (Linux)
- Linux the best download manager uGet (Linux)
- PostgreSQL Source Customization: Online global read only (Database)
- 5 interesting Linux command line tips (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.