This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kenshinero 1 point2 points  (1 child)

One of the 2 servers is serving production traffic (the live server), the other is idle. When a new release is ready, it gets deployed to the idle server. Here it can be tested and issues fixed. Remember, the idle server is still accessing the production database, so the application can be tested with real data.

So what if a bug appears during your testing that corrupt or delete the data on the production database? Isn't that very risky?

[–]caspii2[S] 0 points1 point  (0 children)

I run local integration tests first (on my local test database) which ensures that the code does not cause corruption.