News for hackers. Stuff that matters.
Re:Scaling a Rails Webservice on AWS/EC2 for a #1 iPhone and... by jherdman on Monday July 04, 2011 @10:31AM (#2726621)
I was really hoping for a bit more meat in this article. Perhaps some discussion on their caching strategy, or how they're building their JSON (i.e. traditional model-based #to_json approach, or something along the lines of Rabl).
Re:Scaling a Rails Webservice on AWS/EC2 for a #1 iPhone and... by jrnkntl on Monday July 04, 2011 @12:48PM (#2727001)
Thanks for the RABL reference (https://github.com/nesquena/rabl), interesting stuff, perfect timing for one of my projects.
Re:Scaling a Rails Webservice on AWS/EC2 for a #1 iPhone and... by jherdman on Wednesday July 06, 2011 @09:59AM (#2733912)
I'm using this on a project right now and am finding a lot of successes derived from its use. We tried to build our JSON in the model using the traditional #to_json/#as_json approach in Rails, but found this was falling on its face when our data model became more complex (which, itself, is probably a code smell, but that's another story).

Good luck! I hope it brings you success.

Re:Scaling a Rails Webservice on AWS/EC2 for a #1 iPhone and... by bgentry on Monday July 04, 2011 @10:49AM (#2726672)
Agreed, not much to look at here. I would also be interested in hearing why they decided to roll their own platform instead of using a PaaS, given the small team size.
Re:Scaling a Rails Webservice on AWS/EC2 for a #1 iPhone and... by hello_moto on Monday July 04, 2011 @12:32PM (#2726947)
Because they are engineers working on their own things with no red-tape?
Re:Scaling a Rails Webservice on AWS/EC2 for a #1 iPhone and... by alain94040 on Monday July 04, 2011 @02:22PM (#2727321)
You could start with sharing how many instances you had at the peak, that would be useful.
Re:Scaling a Rails Webservice on AWS/EC2 for a #1 iPhone and... by sgerrand on Monday July 04, 2011 @08:04PM (#2728231)
Agreed. More details on if and how automatic scaling was implemented would be good too.
Re:Scaling a Rails Webservice on AWS/EC2 for a #1 iPhone and... by stuartkhall on Monday July 04, 2011 @10:35AM (#2726633)
Thanks for the feedback, i'll try and cover all that in a future post.