Archive | March, 2008

27 March 2008 ~ 0 Comments

Amazon EC2 now offers STATIC IPs

Amazon EC2 now offers STATIC IPs

This is great news for any Amazon EC2 (Elastic Compute Cloud) developer – up until this point, hosting web sites on EC2 has been a little tricky due to the fact that EC2 instances used dynamic IPs – making it tough to set up reliable load balancing and failover in the face of ever-changing IP [...]

Continue Reading

26 March 2008 ~ 0 Comments

Programming with Amazon’s Web Services? Buy this book.

Programming with Amazon’s Web Services?  Buy this book.

I know I’m going to, just for the cool fish on the cover and the unbelievably long title: Programming Amazon Web Services: S3, EC2, SQS, FPS, and SimpleDB.
Via Amazon Web Services Blog.

Continue Reading

24 March 2008 ~ 2 Comments

Revisit Your Design Ideas

Revisit Your Design Ideas

Sometimes (a lot of times) I’ll design a screen or some code and I think “not bad”. Since it’s not bad, it gets my approval and gets moved into production. Thankfully, I often realize that it’s not a bad idea to revisit those designs and see if there’s something I can improve [...]

Continue Reading

12 March 2008 ~ 20 Comments

Groovy Micro Benchmark Revisited (Groovy is fast…)

Groovy Micro Benchmark Revisited (Groovy is fast…)

Alright, no more Groovy posts for a while after this one. In fact, I hadn’t planned on posting about this again, but I thought it was worth mention.
From the last post, we saw the following results for parsing an XML dataset with about 450 simple elements in it 1,000 times:

Java: ~9 seconds
Groovy: ~28 seconds [...]

Continue Reading

10 March 2008 ~ 5 Comments

Groovy Micro Benchmark

Groovy Micro Benchmark

Following on from the previous post (and here’s the last post), here’s a very quick and dirty, completely unscientific, prone to error, your mileage may vary micro benchmark I did using the code in the last post.
Date set: a String containing roughly 450 XML elements in the form <contact name=”some name” email=”some email” />
Methodology: I [...]

Continue Reading

09 March 2008 ~ 6 Comments

Groovy is Coming…

Groovy is Coming…

I’ve been trying to slowly integrate some Groovy into my normal Java coding. Here’s just one of the reasons why:

Java code:

Groovy code:

Note that this reduction in complexity happens almost everywhere I choose to use Groovy over Java. Of course there are myriad other ways I could have done this in Java (I even [...]

Continue Reading