You could look at this blog as a repository of information related to performance testing n engineering areas. It provides key details from basic conceptual foundation topics & advanced topics providing a detailed insight to the readers. Am sharing some of the key things that i learnt in my career to benefit future Performance Assurance professionals to also it will provide me an opportunity to learn from your experiences. You can also reach me out through www.elitesouls.in
Tuesday, March 6, 2007
Importance of Little's Law
The law states that the average number of customers in a system (over some time interval), N, is equal to their average arrival rate, X, multiplied by their average time in the system, R.
N = X . R (or) for easy remembrance use L = A . W
This law is very important to check whether the load testing tool is not a bottleneck.
For Example, in a shop , if there are always 2 customers available at the counter queue , wherein the customers are entering the shop at the rate of 4 per second , then time taken for the customers to leave from the shop can be calculated as
N = X. R
R = 2/4 = 0.5 seconds
A Simple example of how to use this law to know how many virtual users licenses are required:
Web system that has peak user load per hour = 2000 users
Expected Response time per transaction = 4 seconds
The peak page hits/sec = 80 hits/sec
For carrying out Performance tests for the above web system, we need to calculate how many number of Virtual user licenses we need to purchase.
N = X . R
N = 80 . 4 = 320
Therefore 320 virtual user licenses are enough to carry out the Load Test.
Wednesday, February 28, 2007
Fundamental laws of Performance Testing
Fundamental Laws
~~~~~~~~~~~~~~
1. Utilization law
2. Little's law
3. Response Time law
4. Forced Flow law
5. Service Demand law
Check out the free online book on Queueing Theory available in pea's web site.
http://www.pea-online.com/resources.htm
Nice article from the book "Performance by Design - Computer Capacity Planning by Example" by Virgilio A.F. Almeida, Lawernce W.Dowdy, Daniel A.Menasce.
http://www.informit.com/articles/article.asp?p=170721&seqNum=2&rl=1
Watch out for more information about Performance Engineering Vedas shortly.