Consoles
 

Archive for the ‘Infrastructure’ Category

Advanced Page Caching Hacks in NGINX

by Jason LaPorte, June 26th, 2009 at 01:59pm - No Comments »
Tagged As: , ,
Posted in: Bending Rails, Engineering, Infrastructure

Those of you in the Rails community who use NGINX may have come across this before: Ezra Zygmuntowicz’s NGINX config. It bears some similarity to the ones we use at Agora. Specifically, the section relating to serving page-cached files. The relevant lines (pulled from one of our configs) looks like this:

if (-f $request_filename.html) { rewrite (.*) $1.html break; }
if (-f $request_filename/index.html) { rewrite (.*) $1/index.html break; }
if (!-f $request_filename) { proxy_pass http://some-proxy; }

This generally works well, for simple cases. Unfortunately, we’ve run into some more complex ones where it didn’t cut it. I’ll outline two of those cases below and show what we did to fix it.

(more…)

  • Reddit
  • Digg
  • del.icio.us
  • Facebook
  • Tumblr
  • Twitter

RailsConf Wrap Up

by Jason LaPorte, May 29th, 2009 at 01:42pm - No Comments »
Tagged As: , , , , , , ,
Posted in: Engineering, Infrastructure

Well, we’re back from Vegas! And have been, for a couple weeks… I’ve been meaning to put up some follow-up resources for my talk (PWN Your Infrastructure: Behind Call of Duty: World at War), but there was just so much work to do when I got back… such is the life of a system administrator!

That said, I’ve got some free moments, so I’m putting up some reference materials.

(more…)

  • Reddit
  • Digg
  • del.icio.us
  • Facebook
  • Tumblr
  • Twitter

github.com/agoragames

by David Czarnecki, May 16th, 2009 at 09:30am - No Comments »
Posted in: Engineering, Infrastructure, Online Communities

We are starting to open source some of the components behind community sites like Guitar Hero and Call of Duty. Enjoy!

http://github.com/agoragames

action-mailer-with-temporary-delivery-method
Send email using ActionMailer but without using the templates or changing your smtp_settings

notify-campfire-multi
Notify multiple campfire rooms from a post-commit svn hook

read-and-write-if-nil
Pass through the value of a block to a cache key if the value is nil when it’s requested

test-runner-benchmark
Benchmarking your tests

  • Reddit
  • Digg
  • del.icio.us
  • Facebook
  • Tumblr
  • Twitter

Congratulations Terremark

by Brian Corrigan, April 30th, 2009 at 10:38am - No Comments »
Posted in: Infrastructure, News

We’ve used a lot of hosting providers in our time.  (A lot as in A LOT)  However, at this point most of our premier projects are hosted in our shared service environment at Terremark.  This has been a win all around for us, increasing up-time and decreasing costs to our customers.

This week Terremark won an award for their Enterprise Cloud system (which we’ve used since it was in Alpha) and we’re really proud of them.  So from all of us as Agora to all of the fine folks at Terremark, congratulations!

If you get a moment, check out the article here: http://phx.corporate-ir.net/phoenix.zhtml?c=120545&p=irol-newsArticle&ID=1281292&highlight=

  • Reddit
  • Digg
  • del.icio.us
  • Facebook
  • Tumblr
  • Twitter

Agora in InfoWorld

by Scott DeMarco, April 20th, 2009 at 11:08am - No Comments »
Posted in: Infrastructure, News

Recently, Brian (our CTO) was asked to provide some expertise on cloud computing.  Check it out here:

http://news.idg.no/cw/art.cfm?id=AA905836-17A4-0F78-31DBDDFE7CEAA234

  • Reddit
  • Digg
  • del.icio.us
  • Facebook
  • Tumblr
  • Twitter