找回密码
 FreeOZ用户注册
查看: 2383|回复: 2
打印 上一主题 下一主题

[业界新闻] Twitter moves from Rails to Java

[复制链接]
跳转到指定楼层
1#
发表于 27-4-2011 16:21:48 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?FreeOZ用户注册

x
A colorful feather up Rails’ cap is on the ground now. Twitter has decided to go away from RoR in favor of Java, this time for their entire search stack. Earlier in 2008-09, they decided to move their message queue back-end from ruby to Scala (a Java Platform) and now it is the time for their front-end to move to Java as well.

They have built a scalable platform called Blender that uses Java NIO based server (Netty) to be efficient in the face of heavy incoming traffic, replaced MySQL with a Java based Lucene search engine, created an engine that parallelizes execution of multiple backend services with dependency management and more. With this setup there is a 3X drop in search latencies and can scale to 10X more requests per machine.

Wow, that is quite an achievement. Could this mean that Java is a better platform than Rails for high scalability needs? Even if that is the case, for simpler scenarios, the beauty of RoR out-weighs Java’s performance.

They say that this change will enable them to rapidly iterate on search features in the coming months. That along with the news that Twitter has hired 25 more employees kinda tells that Java’s code base is practically more maintainable than equivalent Ruby code – at least when the code base is huge and the team size is large. Or that could mean that this time they really put a lot of thought into designing a maintainable system than when they started out. But for smaller team size and code base, RoR is still an unbeaten champion.

评分

参与人数 1威望 +20 收起 理由
yuba + 20 谢谢分享!

查看全部评分

回复  

使用道具 举报

2#
发表于 27-4-2011 22:36:53 | 只看该作者
RoR在澳洲还未见颓势

不同人对这个消息有不同的理解,支持Java的不必说,支持RoR的可以说,先用RoR起家,将来改成Scala或Java都行

NetBeans放弃支持Ruby不知道对社区影响多大,:-)
回复  

使用道具 举报

3#
发表于 28-4-2011 10:04:04 | 只看该作者
回复  

使用道具 举报

您需要登录后才可以回帖 登录 | FreeOZ用户注册

本版积分规则

小黑屋|手机版|Archiver|FreeOZ论坛

GMT+11, 27-11-2024 14:02 , Processed in 0.033860 second(s), 21 queries , Gzip On, Redis On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表