互联网公司技术架构资料.新浪微博.构建可扩展微博架构

上传人:我*** 文档编号:133154176 上传时间:2020-05-24 格式:PDF 页数:51 大小:664.89KB
返回 下载 相关 举报
互联网公司技术架构资料.新浪微博.构建可扩展微博架构_第1页
第1页 / 共51页
互联网公司技术架构资料.新浪微博.构建可扩展微博架构_第2页
第2页 / 共51页
互联网公司技术架构资料.新浪微博.构建可扩展微博架构_第3页
第3页 / 共51页
互联网公司技术架构资料.新浪微博.构建可扩展微博架构_第4页
第4页 / 共51页
互联网公司技术架构资料.新浪微博.构建可扩展微博架构_第5页
第5页 / 共51页
点击查看更多>>
资源描述

《互联网公司技术架构资料.新浪微博.构建可扩展微博架构》由会员分享,可在线阅读,更多相关《互联网公司技术架构资料.新浪微博.构建可扩展微博架构(51页珍藏版)》请在金锄头文库上搜索。

1、 Tim Yang Content Manager System LAMP MySQL master slave Memcached PHP CDN Real time Push Pull Push Inbox Outbox inbox Inbox Push Figure User A UpdateAction Inbox Append to 1 s home timeline Inbox Append to 2 s home timeline Inbox Append to 3 s home timeline Followers of User A 1 2 3 Push Pull outbo

2、x Inbox Pull User I Get home timeline Outbox statuses sent by A Outbox Statuses sent by B Outbox Statuses sent by C User I s Following List A B C Pull 5 000 578 2 000 IO 5 000 10 000 100 000 Latency DB read timeout timeout 503 error Message Queue MQ products Kestrel by twitter RabbitMQ an Erlang Que

3、ue Server Memcacheq Memcacheq Berkeley db Memcached protocol client library stats queue 2 get set 1 Memcacheq 2 Get 3 Set MQ Offl ine work MQ The value of the tweet decreases exponentially with time John Kalucki Twitter Cache Ram is the new the disk Local Cache Memcached Database buffer cache LAMP c

4、ache Cache TB QuickLZ LZO gzip SIGSEGV 1 Consistent hash 2 Read through cache Consistent hash Read through cache Read through and Write through Products or projects MySQL memcached UDF Cache money for Ruby on Rails Or wrap a proxy for the db driver in any language Evictions Evections cache Latency e

5、victions cache key Multiget When memcached servers are CPU bound adding more memcached servers doesn t help serve more requests Jeff Rothschild Vice President of Technology at Facebook Cache multiget hole Memcached Max RPS A Memcached Max RPS C Memcached Max RPS B Multiget keys Multiget Multiget Mul

6、tiget Application Max RPS of application A and B and C Multiget Memcached replication IDC Master slave Master master 2PC 3PC Paxos idc design MySQL master slave Dynamo Cassandra PNUTS API REST API library curl javascript client Sina App Engine Sina App Engine API host app Web 2 0 Q A TimYang Twitter xmpp Email iso1600

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 教学/培训

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号