Most interesting links of December

Recommended Readings The Netflix Chaos Monkey – how to test your preparedness for dealing with a system failure so that you won’t experience nasty wakeup when something really fails in Sunday 3 am? Release a wild, armed monkey into your datacenter. Watch carefuly what happens as it randoly kills your instances. This is exactly whatContinue reading “Most interesting links of December”

AWK: Extract Logs for the Given Date(s) from a Log File

If your log file has entries like these: Then you can use the following bash script snippet to extract logs only for a particular day or consecutive days, including everything – even lines not starting with the date such as stacktraces – between the first log of the date up to the first log ofContinue reading “AWK: Extract Logs for the Given Date(s) from a Log File”

Quiz: What’s the Best Test Method Name?

Which of the following names of test methods do you think to be the best? (Notice that we could leave out “payment_” from the last name if it is clear from the context, i.e. from the fixture [a fancy name for test class] name.) According to the holy book of Clean Code, the code shouldContinue reading “Quiz: What’s the Best Test Method Name?”

Getting Started with Amazon Web Services and Fully Automated Resource Provisioning in 15 Minutes

While waiting for a new project, I wanted to learn something useful. And because on many projects we need to assess and test the performance of the application being developed while only rarely there is enough hardware for generating a realistic load, I decided to learn more about provisioning virtual machines on demand in theContinue reading “Getting Started with Amazon Web Services and Fully Automated Resource Provisioning in 15 Minutes”