This blog will be about all topics fundamental to computer science, computer users, IT admins, and much more.
Monday, November 7, 2011
A look at the Fundamentals in the Cloud
Sunday, October 30, 2011
Old performance addage... Polling is bad
Its long been known that polling is bad. It uses a ton of resources. The challenge is it trips up even great developers. Check out... http://m.guardian.co.uk/technology/2011/oct/29/iphone-4s-battery-location-services-bug?cat=technology&type=article
One way to catch this is to have a good set if resource monitoring tests. Its very likely Apple had these however its hard to catch with so many ways to configure software. This is where collecting these same resources from released devices can help (crowd sourcing test). Check out for example Microsofts SQM (aka Customer Improvement Program) data.
Should you decide to collect telemetry just remember the second addage... Bad collection is like polling.
Friday, October 28, 2011
Crowd sourcing Apple iPhone 4S power performance
Interesting easy to solve the issue...
http://m.guardian.co.uk/technology/2011/oct/28/iphone-4s-battery-apple-engineers?cat=technology&type=article
Monday, October 17, 2011
Performance Test Pattern
There are two test here. Test 1 which looks pretty erratic and test 2 which looks pretty stable and repeatable around 3 ms. Given this I'm pretty sure you are going to choose test 2 on which to monitor and track performance. The test is very stable meaning the variance is very low and repeatable because it does not drift off over time. For an example of drift check out the following:
Here you can see the results are pretty stable in that the overall variance from number to number if pretty low however the results are not very repeatable and seem to drift up over time. For this particular test high ping time is bad. This is also and example of "death-by-a-thousand cuts" where from test to test results look good but over long periods of time you see performance is dropping off.
So the question then comes up how do you make stable and repeatable performance tests? The answer is to follow a test pattern like the xUnit pattern with a couple of extra steps. The pattern is the following:
- setup
- warmup
- execute
- something most tests forget
- publish
- cleanup
- teardown
Friday, September 9, 2011
Remember WPR?Ccheck out the drive for better power use at Google
Monday, July 11, 2011
Ahh... the world has evolved. No more 1TB sorts.
Thursday, June 30, 2011
The second most important metric - Location, Location, Location
- User interfaces should respond in around 100 millisec or less. Human perception is around 30 millisec.
- A user can detect a software hang in round one second and will take action at around 5 seconds to fix it.
- The good news for the web is users are willing to wait up to 15 seconds for a page however they will likely never come back if it takes more than 30 seconds.


