Michael on January 7th, 2011

Today, I was running some load scripts on code that executed an HTTP POST request to a REST service. The load test essentially ran the HTTP call over and over. When the client was done running, I ended up with a bunch of TCP connections in CLOSE_WAIT status. To see the TCP connection states, run [...]

Continue reading about HttpClient and CLOSE_WAIT

Michael on December 30th, 2010

Every software developer is (should be) reasonably well versed in the notion of model view controller (MVC). Yet, I still stumble into code that sometimes makes me wonder if something isn’t quite clear for some… I think at this point, everyone has the model part down pretty good. I’m being nice here because even in that [...]

Continue reading about The view, the controller and the ugly

Michael on October 14th, 2010

I ran into an interesting performance problem today. I was working on an algorithm to process text data files. My first stab at the design went through my data file starting from the first character and on, and output a string built based on some rules applied to each character. I ended up with a [...]

Continue reading about Building strings backward