Friday, May 2. 2008Twitter derailed?Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
To add to what you are saying above, I don't think twitter's situation is a clear-cut case of "RoR is bad".
Firstly, chat is INCREDIBLY resource-intensive - especially the way they do it. Secondly, from what I understand they are indeed already writing some modules in a lower-level language (can't find a reference to that info, but I'm pretty sure it's the case). These two points are perhaps a better explanation of why the RoR community is up in arms; RoR offers such a low barrier to entry to the web game that, naturally, comparatively few RoR developers have enough insight to understand twitter's decisions and their issues. That's a good thing though, because it means there's plenty of room for consultants like us Of course I'm not impartial: give me @benjiegillam's memcached PHP Kitteh framework over RoR any day. The Twitter folks had denied (via Twitter) the TechCrunch story within minutes of its appearance. Not that this takes away from your points about scaling issues, but let's not spread the rumor any further.
@ Jof - that rings true - and if anybody knows this stuff its you guys. In Twitter's own comment today they do say that a lot of the code is not in RoR anyway.
@ Mike - I have updated my post - but I do note that TC is saying that they've heard the story from lots of sources. Think that Andy and Jof have pretty much nailed it here (in terms of argument ‘for’), in identifying that RoR is a pragmatic choice because of low barriers-to-entry and good speed-to-market (since it’s open source and is fast to develop in, encouraging innovation and a ‘get stuff out there’ mentality).
Most web apps don’t get big, so making a big upfront (time/money) investment in scaling is not a good choice, as a) it means the app isn’t getting out there and being used/iterated, and b) it’s not always apparent where the scaling issues/bottlenecks are going to occur. So when resource is limited (as it invariably is in most start-ups) focus on where the return is going to be made (getting traction). This is essentially what Andy’s said, and it’s the line that’s articulated in the 37signals book “Getting Real” (http://gettingreal.37signals.com/), the 37signals RoR guide/philosophy for building web apps (written by the guys behind the rails framework), and where they say don’t worry about scaling until you have to. And if you find that you’ve got a scaling issue then congratulations, since it means you’re getting lots of usage (assuming you built sensibly in the first instance), and you can then worry about the bottlenecks that have become apparent. There is performance stuff that can be deployed early, e.g. memcached, cachefu, etc, so there’s no reason to not do some basic optimisation stuff at the outset, which should help you get over initial humps and surges. And if you haven’t got that knowledge inhouse then if you’re working with the right hosting company you can get some invaluable advice on best-practise in this respect (we work with Engine Yard, and they do exactly that, since the team there is some of the best minds in the community). Also, the fact that Benchmark Capital (also invested MySQL, amongst other things open source), is making investments in rails-oriented businesses is a good sign that in addition to a vibrant community there’s some serious institutional/commercial firepower that’s starting to be directed on the area. (They’ve invested in New Relic (rails performance stuff, see http://tinyurl.com/5h6a55) and Engine Yard (rails hosting, see http://tinyurl.com/24jzxo)). So the summary from my perspective is that the pros (agility) outweigh the cons (baked-in scalability), and if you experience scaling problems then rejoice, and then get some shit-hot performance people on-the-case (in light of twitter’s challenges, possibly easier said than done). In parallel the knowledge that there’s a good deal of effort going into solving performance/optimisation both from the community and commercial entities, and that there are a growing number of well-trafficked sites that are using RoR, is re-assuring. So we’re optimistic (but are focussed on the early stage success side of things at the moment!). Context: I’m a business guy (learning to code on the side), not a techie (so I’m not evangelising on behalf of the community; I’m actually pretty agnostic, and it’s down to what allows us to get the job done). We’re using RoR, and it’s allowed us to get things out of the door pretty fast. As mentioned above, we use Engine Yard for hosting, and they’ve been invaluable in relation to operational support/performance and optimisation advice. We’re also currently looking for a lead RoR person to join the boxedup team (with founder-type status) so give me a shout (@ me on twitter - chrsoz) if you’re interested (sorry for the plug Alan)! Secondly, Ruby on Rails. I'm sorry to say this, but the correlation of the terms "Scaling Problems" and Ruby on Rails" does seem higher than usual.
Correlation as compared to what? What's high? And what on earth does this mean anyway? I bet there's more sites out there with scaling issues in java, does that mean java has scaling issues? Or that people don't know what they are doing? Correlation / comparison - I have seen people develop seriously scalable systems using Perl and PHP and they by and large hold up, whereas there is a lot of anxiety about Ruby - just Google it!
Java has got scaling issues - or more accurately speed issues at scale - but we have built some serious real time iron using Java so I'm not too bothered with it. As to not knowing what people are doing, my point is more that a lot of Web 2.0 stuff is done by people not familiar with network infrastructure - in fact the Twitter guys admitted as much |
QuicksearchFor More Information
Contact us Broadsight website Articles Broadstuff - the Twitter edition Broadstuff - the Jaiku edition Broadstuff - the FriendFeed edition Subscribe to Broadstuff via email Shameless Plug - vote Broadstuff for Best UK Web 2.0 / Business Blog (we like the big red button anyways.....) Books we are reading: BookmarkArchivesBlog AdministrationCreative Commons LicenceCategories
|