Posted in Coding, Coding Tips on Sep 12th, 2008
After trying some other load-testing tools, I found Tsung, a load-testing application written in Erlang to take advantage of that language’s concurrency support. It scales well (it’s been used to simulate tens of thousands of users), it supports forms and HTTP sessions, and includes some niceties like proxy recording, ‘thinktime’ support, and a choice of [...]
Read Full Post »
Posted in Coding, Coding Tips on Sep 10th, 2008
So, if you were going to do some load-testing on your Rails app, you might think, hey, Siege is pretty cool. It supports load-testing multiple URLs at once (either sequential or in random order), with a delay in-between, with lots of options for setting the duration and characteristics of the load. Plus, there’s a tool [...]
Read Full Post »
Posted in Coding Tips on Dec 20th, 2007
Thought I’d put this out there in case anyone was interested in doing this, as I had to recently. The short version is: there is no shortcut, you’ll have to re-bundle it from a running instance.
So, we had some EC2 images (Amazon Machine Images, or AMIs) that had been stored under a developer’s personal S3 [...]
Read Full Post »
Posted in Coding, Coding Tips on Oct 19th, 2007
A friend of mine said this on the way back from lunch today and I had to preserve it for posterity.
Read Full Post »
Posted in Coding Tips on Apr 16th, 2007
Test Early points out a nice feature of JUnit 4 that I had overlooked — parameterized tests. If you’ve ever found yourself writing multiple repetitive test methods just so you could call the same method with various combinations of arguments, you should check it out.
Read Full Post »
Posted in Coding Tips on Mar 30th, 2007
So, if you’re like me and reinstalling Eclipse and Subversion (or switching to Subversion from the built-in CVS plugin), you’ll find yourself thinking, “Hey… something’s missing. I just edited a file, but why doesn’t it look right?”
Eventually, you’ll remember, “Hey… I used to see a greater-than sign (>) in front of all my edited files, [...]
Read Full Post »
Posted in Coding Tips on Nov 13th, 2006
While I’ve used many windows-based hex editors over the years, I never needed to do it from a Linux environment before, and so I wanted to see if there was a way to do it with a tool that would be included in most default distros. Some brief searching turned up this method with [...]
Read Full Post »