编辑“︁
Twitter
”︁(章节)
跳转到导航
跳转到搜索
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
=== 架构 === Twitter早期采用[[Ruby on Rails]]框架和[[Ruby]]企业版<ref>{{Cite_web |url=http://www.forbes.com/forbes/2009/0622/software-internet-innovation-digital-tools.html |title=The Pied Piper of Pay |work=[[Forbes]] |first=Lee |last=Gomes |date=2009-06-22 |accessdate=2009-06-16 |archive-date=2009-06-12 |archive-url=https://web.archive.org/web/20090612061101/http://www.forbes.com/forbes/2009/0622/software-internet-innovation-digital-tools.html |dead-url=no }}</ref>,由于考虑到执行效率等因素并没有采用原生Ruby<ref>{{Cite_web | author = ryan king | date = 2009-09-25 | title = Twitter on Ruby | url = http://blog.evanweaver.com/articles/2009/09/24/ree/ | quote = ''We recently migrated Twitter from a custom Ruby 1.8.6 build to a Ruby Enterprise Edition release candidate, courtesy of Phusion. Our primary motivation was the integration of Brent's MBARI patches, which increase memory stability.'' | accessdate = 2009-10-31 | archive-date = 2009-09-27 | archive-url = https://web.archive.org/web/20090927063142/http://blog.evanweaver.com/articles/2009/09/24/ree/ | dead-url = no }}</ref>。 2007年春季到2008年,Twitter上的消息都是通过一个名叫Starling<ref>{{Cite_web |accessdate=2009-01-11 |url=http://dev.twitter.com/2008/01/announcing-starling.html |title=Announcing Starling |publisher=Twitter |date=2008-01-16 |author=Payne, Alex |archiveurl=https://web.archive.org/web/20080120141113/http://dev.twitter.com/2008/01/announcing-starling.html |archivedate=2008-01-20 |deadurl=yes }}</ref>的持久化消息队列服务器进行处理的。但从2009年开始,Twitter已经开始逐渐在用[[Scala]]编写的程序来进行消息处理。<ref>{{Cite_web|url=http://www.artima.com/scalazine/articles/twitter_on_scala.html|title=Twitter on Scala|date=2009-04-03|first=Bill|last=Venners|publisher=Artima Developer|accessdate=2009-06-17|archive-date=2009-06-19|archive-url=https://web.archive.org/web/20090619164149/http://www.artima.com/scalazine/articles/twitter_on_scala.html|dead-url=no}}</ref>同时,这项服务提供的[[API]]允许众多网站与Twitter整合。<ref>{{Cite_web|accessdate=2008-05-08|url=http://groups.google.com/group/twitter-development-talk/web/api-documentation|title=API Documentation|publisher=[[Google Groups]]|archive-url=https://web.archive.org/web/20080506050312/http://groups.google.com/group/twitter-development-talk/web/api-documentation|archive-date=2008-05-06|dead-url=yes}}</ref> 2011年,Twitter從Ruby on Rails切换至[[Java]],從[[MySQL]]切换到[[Lucene]];<ref>{{Cite web |url=http://engineering.twitter.com/2010/10/twitters-new-search-architecture.html |title=Twitter's New Search Architecture |accessdate=2011-04-21 |archive-date=2011-04-27 |archive-url=https://web.archive.org/web/20110427094539/http://engineering.twitter.com/2010/10/twitters-new-search-architecture.html |dead-url=no }}</ref>新的核心框架使Twitter的搜索性能增加到原来的3倍。<ref>{{Cite web |url=http://engineering.twitter.com/2011/04/twitter-search-is-now-3x-faster_1656.html |title=Twitter Search is Now 3x Faster |accessdate=2011-04-21 |archive-date=2011-04-22 |archive-url=https://web.archive.org/web/20110422061338/http://engineering.twitter.com/2011/04/twitter-search-is-now-3x-faster_1656.html |dead-url=no }}</ref>
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
页面
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息