The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

verket (34) [Avatar] Offline
We noticed that we don't always need an exact copy of our production environment to run tests on. What we need is to know how our test environment scales to our production environment.

For example (it's a book about examples, right):
We wanted to know how long it took our application to save a set of data to the database. It turns out to be a linear function:
number of rows you want to save multiplied by X = time it takes.

The only thing different between our test environment is X, and we know both numbers.

It turned out that both environments follow the same linear function, but that our production environment is exactly 10% slower - no typo - than our test environment. This was because the live database contains loads more data.

Anyhow, now we can predict what our production environment is going to do, based on the test on our "safe" environment.