Archive for 2006/10
-
Java Singletons Without Locks
-- Oct. 19, 2006, 4:43 p.m.
As a wonderful follow-up to my micro-optimizations post, I figured I'd write a little about a common micro-optimization and how to write lots of additional code to avoid something that is not measurably significant. I Want my Double Checked Lock We all know doubled checked locking is bad. We also know why. It is a sort of natural progression of ...
-
What's the Deal With Micro-Optimizations?
-- Oct. 4, 2006, 11:54 p.m.
I don't get why people make the biggest deals out of the parts of a system with the least significance. I was trying to standardize what is effectively a web app in the hopes to get it running under JBoss (or some normal container). This application did some initialization in a main() and then started jetty to handle HTTP requests. ...
-
My S3 Backup System
-- Oct. 4, 2006, 11:28 p.m.
Everyone's all excited about S3 from Amazon, and for good reason. It's a reasonably priced offsite storage mechanism. I've been meaning to write some tools for myself to use this service, but it's been kind of lower on a really long priority list. I was pushed over the edge tonight by Jeremy Zawodny's excellent post on his analysis of building ...