Test environment a key to restore the system design documentation

In fact the line, pre-release environment each server to pull real-time database backup files through the network, the site archive, due to the pre-release hard disk write speed of environmental issues, the current bandwidth speed of 350M / s, the main bottleneck is hard to write the speed, the transmission disk write footprint maintain 100%

One, background

  Where the company's business Saas system development for online stability, high stability requirements of the system after the release, currently due to environmental inconsistencies, each release usually occurs after a pre-release environment with no problem, but to publish the current network , for environmental reasons are not synchronized, leading to the BUG, ​​based on this case, the system is designed to enhance the protection of the test.

  The current network environment:

    1, the host 2 sets a physical database system, each database server has a plurality of the same 10.

    2, a plurality of different functions 10 sites distributed over the servers 3, wherein two load balancing (exactly program code), the other is dedicated download site;

  test environment:

    1, single-host install two SQL SERVER instance, and install IIS and related services to simulate a complete test environment

    2, the current pre-release testing environment into the environment (online) 1, local test environment (offline) 2 (for a multi-branch parallel test)

  Transport mechanisms:

    1, file transfer, the client receiving each fragment of a file, the file is written to the local real-time, and then transmits the write command to the server is completed Please continue to send the next file fragment. Thus HDD writing speed, it will affect the transmission speed.

Second, the design

Third, to achieve results

  1, tested between analog local LAN server, the client performs a key to restore the transmission rate of about 98M (card limit), the test is repeated a plurality of times, the existing network deployed to continue testing after stabilization;

  2, the existing network to the server to provide services, servers 4 are provided to restore the database, WEB site is restored service, a pre-release stage, through the implementation of a key to restore the network cloud line, the transmission speed of the card in pre-release hard 350M / s, during resource consumption 100% full load operation. After repeated tests several times, and continued to run the tests, the testing process and solve the BUG strange abnormal exit problems encountered off, continuous operation is currently being tested, running about two days, and stable operation of the need to continue to observe the situation.

 

Guess you like

Origin www.cnblogs.com/soleds/p/11912505.html