Yearly Archives: 2008

Hacking Amazon SQS

I’ve been working on a simple Amazon SQS to be able to send a thousands of messages and log them to a db to be queried later using a web service. After a few rundown, I tried using typica http://code.google.com/p/typica/ for api to SQS and the Apache Axis2 http://ws.apache.org/axis2/ for the webservice implementation.

I’ve been trying to bundle the app inside an AMI fetching the codes from SVN repository during startup and run the Pollserver and the webservice. The remaining task are MySQL replication inside Amazon EC2, scripts to backup MySQL data to S3 and a simple HTML pages fetching WSDL service results.

Finally, a plan to add the load balancer for my tomcat servers. Hopefully using the Scalr http://code.google.com/p/scalr/ as much as possible. A nice experience working with Amazon AWS.

Get ready for action!

Did I get the scalr running?

Well after some little tweaking on the installation and setup at Amazon EC2. I got the scalr running.
See the pics below for snapshot.

This really makes a good starting point to scale applications. Actually, after I was able to run scalr, there’s lot of ideas entering my mind. Usually ideas of possible applications that I can make using this project.

I admire you guys working at scalr. But for now, let me ponder more ideas on how to use your to solution to manage scalable apps at amazon.

Get this app at http://code.google.com/p/scalr/