Skip to content
By Glenn Davy

How to shave 150ms off content served from EC2

It was a bit like Christmas morning when I opened my AWS management console, and noticed "Asia Pacific (Sydney)" had appeared on the menu of regions. 2 or 3 weeks before the circulating rumours had suggested! Many of our clients are deployed on ec2, and this should give us the chance to save our Australian clients the 150-200ms tax they pay per request to the US. But will it?

We couldn't help our selves, and span up a t1.micro in the new ap-southeast-2 region, one on the US West Coast, and one in Singapore, just to see what we could expect. From the New England tablelands a few hundred km north west of Sydney, the ping to the Sydney instance is 30ms. California was 190ms and Singapore 220ms.

But, we're interested in the web more than icmp packets, so I dropped nginx on to each instance, and hit the default 358 bytes welcome page, which takes no more than 1ms to serve. The latency to AWS Sydney was 43ms (total request/response cycle 44ms), the latency to California 198ms (total request/response cycle 199ms) and Singapore was quite random, with latencies of between 206ms and 773ms.

So if you are in our Great Southern Land and using AWS, migrating to use the Sydney data centre is definitely a good move.

Obviously, if you have a Ruby on Rails application you would like to migrate to the AWS Sydney datacentre, get in touch

Latest Articles by Our Team

Our expert team of designers and developers love what the do and enjoy sharing their knowledge with the world.

We Hire Only the Best

reinteractive is Australia’s largest dedicated Ruby on Rails development company. We don’t cut corners and we know what we are doing.

We are an organisation made up of amazing individuals and we take pride in our team. We are 100% remote work enabling us to choose the best talent no matter which part of the country they live in. reinteractive is dedicated to making it a great place for any developer to work.

Free Community Workshops

We created the Ruby on Rails InstallFest and Ruby on Rails Development Hub to help introduce new people to software development and to help existing developers hone their skills. These workshops provide invaluable mentorship to train developers, addressing key skills shortages in the industry. Software development is a great career choice for all ages and these events help you get started and skilled up.

  • Webinars


    Webinars are our online portal for tips, tricks and lessons learned in everything we do. Make the most of this free resource to help you become a better developer.

    Learn more about webinars

  • Installfest


    The Ruby on Rails Installfest includes a full setup of your development environment and step-by-step instructions on how to build your first app hosted on Heroku. Over 1,800 attendees to date and counting.

    Learn more about Installfest

  • Development Hub

    Development Hub

    The Ruby on Rails Development Hub is a monthly event where you will get the chance to spend time with our team and others in the community to improve and hone your Ruby on Rails skills.

    Learn more about Development Hub

Get the “reinteractive Review” Monthly Email