Monday, August 1, 2011

#1 Lesson Learned – Performance Test


Albert Einstein said, "Intellectuals solve problems, geniuses prevent them."

The idea of lesson learned series is to make a practical project manager becomes genius by reading, listening, and memorizing as much as possible entire lesson learned from various projects.

This is one of the attempts!

Performance Test

Performance test is required to prove that the system can cater the agreed load (e.g. certain amount of TPS – Transaction per Second). During the performance test, two cases are required:
1.    Normal test cases; the test runs the positive test cases such as the box can runs 1000 TPS with 20% CPU utilization.
2.    Negative test cases; the system must run negative test cases and we need to observe the behavior of the system such as CPU utilization, memory consumption, etc. E.g. the box runs 1000 TPS with 50% of the traffic has low latency and observe what happen with the CPU load.

By performing the above two test cases, we could prevent or minimize unpleasant surprise in the production system, do not underestimate this.

Cheers.

No comments:

Post a Comment