Wednesday, August 10, 2011

Meaningful Performance Test

Non-linear:
Analogy-10 women cannot work together to get a baby in a month

Problem resolution:

Need profiling logs when the test is run with
Correct application and version
Usecase
Config
Database
Problematic issue must be reproduced

Scale is important
Water in a bucket and beach and their physics are different

Performance issues
-Performance Tips are for waiters, analysis for engineers
-Technicians read from the list and they become engineers when they add to the list

All CPU's WAIT at the same speed

Maserati has to wait in a STOP sign like a single threaded application, CPU works on the running code,not the waiting code!

Data quantity and quality plays a major role in test validity


Sunday, August 7, 2011

Trade-off's

I want to go to heaven, but I don't want to die

For a project the trade-off is--Fast, Good, Cheap.Pick Two!

Principles of optimization:

Our intuitions of the true costs of a program are usually wrong. Only by measuring can you confidence that you are having a positive effect on performance. When optimizing performance, it doesn't add value to speed up code that doesn't consume a significant execution time, measure first, back-out if it's not significant...don't waste time!


Key is to establish a balance between the browser and the server, AJAX provides an effective alternative to page replacement.