Twitter从Cassandra换回Mysql数据存储

刚才看到cnbeta上一篇消息说Twitter不再用Cassandra数据库系统储存数据。但文章没说Twitter改用什么了,于是在网上查找了一番,基本结果是这样的。

  • Twitter放弃使用Cassandra存储tweet(用户发言),切换回了原来的mysql
  • Twitter没有完全停止试用Cassandra,在一些其他服务上还在使用,只是主要的数据不用它了。参见:Cassandra at Twitter
  • 其实Twitter也只是今年2月份才准备从Mysql切换到Cassandra的,世界杯期间出现了几次宕机,这次切回mysql应该算是“系统升级失败”吧。参见:Cassandra at Twitter Today

当一个技术选型决定后,修改的成本是巨大的。当你有Twitter这么恐怖的数据的时候,任何核心底层的修改都是前所未有的挑战,即使你用的是成熟技术,你有出色的工程师。

最后感谢Burstnet,没有你帮我,我是看不到墙外Twitter工程师的原始blog的。

Related posts

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>