Suche senden
Hochladen
微博cache设计谈
•
Als KEY, PDF herunterladen
•
139 gefällt mir
•
13,705 views
T
Tim Y
Folgen
Technologie
Melden
Teilen
Melden
Teilen
1 von 32
Jetzt herunterladen
Empfohlen
大数据时代feed架构 (ArchSummit Beijing 2014)
大数据时代feed架构 (ArchSummit Beijing 2014)
Tim Y
新浪微博Feed服务架构
新浪微博Feed服务架构
XiaoJun Hong
新浪微博开放平台Redis实战
新浪微博开放平台Redis实战
mysqlops
微博架构与平台安全
微博架构与平台安全
Tim Y
High Performance Weibo QCon Beijing 2011
High Performance Weibo QCon Beijing 2011
Tim Y
分布式Key Value Store漫谈
分布式Key Value Store漫谈
Tim Y
Big Data in Real-Time at Twitter
Big Data in Real-Time at Twitter
nkallen
Linux binary Exploitation - Basic knowledge
Linux binary Exploitation - Basic knowledge
Angel Boy
Empfohlen
大数据时代feed架构 (ArchSummit Beijing 2014)
大数据时代feed架构 (ArchSummit Beijing 2014)
Tim Y
新浪微博Feed服务架构
新浪微博Feed服务架构
XiaoJun Hong
新浪微博开放平台Redis实战
新浪微博开放平台Redis实战
mysqlops
微博架构与平台安全
微博架构与平台安全
Tim Y
High Performance Weibo QCon Beijing 2011
High Performance Weibo QCon Beijing 2011
Tim Y
分布式Key Value Store漫谈
分布式Key Value Store漫谈
Tim Y
Big Data in Real-Time at Twitter
Big Data in Real-Time at Twitter
nkallen
Linux binary Exploitation - Basic knowledge
Linux binary Exploitation - Basic knowledge
Angel Boy
What Every Developer Should Know About Database Scalability
What Every Developer Should Know About Database Scalability
jbellis
Migrating from InnoDB and HBase to MyRocks at Facebook
Migrating from InnoDB and HBase to MyRocks at Facebook
MariaDB plc
MacOS memory allocator (libmalloc) Exploitation
MacOS memory allocator (libmalloc) Exploitation
Angel Boy
Facebook Messages & HBase
Facebook Messages & HBase
强 王
카프카 기반의 대규모 모니터링 플랫폼 개발이야기
카프카 기반의 대규모 모니터링 플랫폼 개발이야기
if kakao
Tech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of Facebook
Tech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of Facebook
The Hive
Apache Arrow Workshop at VLDB 2019 / BOSS Session
Apache Arrow Workshop at VLDB 2019 / BOSS Session
Wes McKinney
Hadoop Backup and Disaster Recovery
Hadoop Backup and Disaster Recovery
Cloudera, Inc.
Scylla Summit 2022: How to Migrate a Counter Table for 68 Billion Records
Scylla Summit 2022: How to Migrate a Counter Table for 68 Billion Records
ScyllaDB
Linux Binary Exploitation - Return-oritend Programing
Linux Binary Exploitation - Return-oritend Programing
Angel Boy
Modern Kernel Pool Exploitation: Attacks and Techniques
Modern Kernel Pool Exploitation: Attacks and Techniques
Michael Scovetta
Improving Data Locality for Spark Jobs on Kubernetes Using Alluxio
Improving Data Locality for Spark Jobs on Kubernetes Using Alluxio
Alluxio, Inc.
Thousands of Threads and Blocking I/O
Thousands of Threads and Blocking I/O
George Cao
Off-heaping the Apache HBase Read Path
Off-heaping the Apache HBase Read Path
HBaseCon
Windows 10 Nt Heap Exploitation (Chinese version)
Windows 10 Nt Heap Exploitation (Chinese version)
Angel Boy
From cache to in-memory data grid. Introduction to Hazelcast.
From cache to in-memory data grid. Introduction to Hazelcast.
Taras Matyashovsky
Supporting Apache HBase : Troubleshooting and Supportability Improvements
Supporting Apache HBase : Troubleshooting and Supportability Improvements
DataWorks Summit
Linux Binary Exploitation - Stack buffer overflow
Linux Binary Exploitation - Stack buffer overflow
Angel Boy
DocValues aka. Column Stride Fields in Lucene 4.0 - By Willnauer Simon
DocValues aka. Column Stride Fields in Lucene 4.0 - By Willnauer Simon
lucenerevolution
Playlists at Spotify - Using Cassandra to store version controlled objects
Playlists at Spotify - Using Cassandra to store version controlled objects
Jimmy Mårdell
Build scalable microblog qcon beijing 2010
Build scalable microblog qcon beijing 2010
Tim Y
新浪微博分布式缓存与队列-2013版
新浪微博分布式缓存与队列-2013版
XiaoJun Hong
Weitere ähnliche Inhalte
Was ist angesagt?
What Every Developer Should Know About Database Scalability
What Every Developer Should Know About Database Scalability
jbellis
Migrating from InnoDB and HBase to MyRocks at Facebook
Migrating from InnoDB and HBase to MyRocks at Facebook
MariaDB plc
MacOS memory allocator (libmalloc) Exploitation
MacOS memory allocator (libmalloc) Exploitation
Angel Boy
Facebook Messages & HBase
Facebook Messages & HBase
强 王
카프카 기반의 대규모 모니터링 플랫폼 개발이야기
카프카 기반의 대규모 모니터링 플랫폼 개발이야기
if kakao
Tech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of Facebook
Tech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of Facebook
The Hive
Apache Arrow Workshop at VLDB 2019 / BOSS Session
Apache Arrow Workshop at VLDB 2019 / BOSS Session
Wes McKinney
Hadoop Backup and Disaster Recovery
Hadoop Backup and Disaster Recovery
Cloudera, Inc.
Scylla Summit 2022: How to Migrate a Counter Table for 68 Billion Records
Scylla Summit 2022: How to Migrate a Counter Table for 68 Billion Records
ScyllaDB
Linux Binary Exploitation - Return-oritend Programing
Linux Binary Exploitation - Return-oritend Programing
Angel Boy
Modern Kernel Pool Exploitation: Attacks and Techniques
Modern Kernel Pool Exploitation: Attacks and Techniques
Michael Scovetta
Improving Data Locality for Spark Jobs on Kubernetes Using Alluxio
Improving Data Locality for Spark Jobs on Kubernetes Using Alluxio
Alluxio, Inc.
Thousands of Threads and Blocking I/O
Thousands of Threads and Blocking I/O
George Cao
Off-heaping the Apache HBase Read Path
Off-heaping the Apache HBase Read Path
HBaseCon
Windows 10 Nt Heap Exploitation (Chinese version)
Windows 10 Nt Heap Exploitation (Chinese version)
Angel Boy
From cache to in-memory data grid. Introduction to Hazelcast.
From cache to in-memory data grid. Introduction to Hazelcast.
Taras Matyashovsky
Supporting Apache HBase : Troubleshooting and Supportability Improvements
Supporting Apache HBase : Troubleshooting and Supportability Improvements
DataWorks Summit
Linux Binary Exploitation - Stack buffer overflow
Linux Binary Exploitation - Stack buffer overflow
Angel Boy
DocValues aka. Column Stride Fields in Lucene 4.0 - By Willnauer Simon
DocValues aka. Column Stride Fields in Lucene 4.0 - By Willnauer Simon
lucenerevolution
Playlists at Spotify - Using Cassandra to store version controlled objects
Playlists at Spotify - Using Cassandra to store version controlled objects
Jimmy Mårdell
Was ist angesagt?
(20)
What Every Developer Should Know About Database Scalability
What Every Developer Should Know About Database Scalability
Migrating from InnoDB and HBase to MyRocks at Facebook
Migrating from InnoDB and HBase to MyRocks at Facebook
MacOS memory allocator (libmalloc) Exploitation
MacOS memory allocator (libmalloc) Exploitation
Facebook Messages & HBase
Facebook Messages & HBase
카프카 기반의 대규모 모니터링 플랫폼 개발이야기
카프카 기반의 대규모 모니터링 플랫폼 개발이야기
Tech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of Facebook
Tech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of Facebook
Apache Arrow Workshop at VLDB 2019 / BOSS Session
Apache Arrow Workshop at VLDB 2019 / BOSS Session
Hadoop Backup and Disaster Recovery
Hadoop Backup and Disaster Recovery
Scylla Summit 2022: How to Migrate a Counter Table for 68 Billion Records
Scylla Summit 2022: How to Migrate a Counter Table for 68 Billion Records
Linux Binary Exploitation - Return-oritend Programing
Linux Binary Exploitation - Return-oritend Programing
Modern Kernel Pool Exploitation: Attacks and Techniques
Modern Kernel Pool Exploitation: Attacks and Techniques
Improving Data Locality for Spark Jobs on Kubernetes Using Alluxio
Improving Data Locality for Spark Jobs on Kubernetes Using Alluxio
Thousands of Threads and Blocking I/O
Thousands of Threads and Blocking I/O
Off-heaping the Apache HBase Read Path
Off-heaping the Apache HBase Read Path
Windows 10 Nt Heap Exploitation (Chinese version)
Windows 10 Nt Heap Exploitation (Chinese version)
From cache to in-memory data grid. Introduction to Hazelcast.
From cache to in-memory data grid. Introduction to Hazelcast.
Supporting Apache HBase : Troubleshooting and Supportability Improvements
Supporting Apache HBase : Troubleshooting and Supportability Improvements
Linux Binary Exploitation - Stack buffer overflow
Linux Binary Exploitation - Stack buffer overflow
DocValues aka. Column Stride Fields in Lucene 4.0 - By Willnauer Simon
DocValues aka. Column Stride Fields in Lucene 4.0 - By Willnauer Simon
Playlists at Spotify - Using Cassandra to store version controlled objects
Playlists at Spotify - Using Cassandra to store version controlled objects
Andere mochten auch
Build scalable microblog qcon beijing 2010
Build scalable microblog qcon beijing 2010
Tim Y
新浪微博分布式缓存与队列-2013版
新浪微博分布式缓存与队列-2013版
XiaoJun Hong
Feed服务架构-新浪微博新员工培训议题
Feed服务架构-新浪微博新员工培训议题
XiaoJun Hong
高性能队列Fqueue的设计和使用实践
高性能队列Fqueue的设计和使用实践
孙立
人人网技术经理张铁安 Feed系统结构浅析
人人网技术经理张铁安 Feed系统结构浅析
isnull
设计模式分享
设计模式分享
michaelsh
Java常见问题排查
Java常见问题排查
bluedavy lin
Erlang分布式系统的的领域语言
Erlang分布式系统的的领域语言
Feng Yu
13 tips for a highly engaging feed
13 tips for a highly engaging feed
Thierry Schellenbach
Depoimento de Amaury Jr ne PF
Depoimento de Amaury Jr ne PF
Luis Nassif
20140717 about openstreetmap
20140717 about openstreetmap
Taichi Furuhashi
Lesson 7 1 Part 2 1
Lesson 7 1 Part 2 1
mradcliffe
Fleury no inferno
Fleury no inferno
Luis Nassif
About OSM japan at the Association of Japanese Geographers
About OSM japan at the Association of Japanese Geographers
Taichi Furuhashi
Miguli Basic
Miguli Basic
Komunalne usluge Djurdjevac d.o.o.
Space hackathon5
Space hackathon5
Taichi Furuhashi
Collaborative 3D Modelling and Printing: What you See is not Directly What Yo...
Collaborative 3D Modelling and Printing: What you See is not Directly What Yo...
Farid Mokhtar Noriega
Alfredorodriguez
Alfredorodriguez
Piebel
Michigan Ppt[1]
Michigan Ppt[1]
mduncan
Hi France24 Iht Harris Poll Leaders Barometer April2009
Hi France24 Iht Harris Poll Leaders Barometer April2009
Luis Nassif
Andere mochten auch
(20)
Build scalable microblog qcon beijing 2010
Build scalable microblog qcon beijing 2010
新浪微博分布式缓存与队列-2013版
新浪微博分布式缓存与队列-2013版
Feed服务架构-新浪微博新员工培训议题
Feed服务架构-新浪微博新员工培训议题
高性能队列Fqueue的设计和使用实践
高性能队列Fqueue的设计和使用实践
人人网技术经理张铁安 Feed系统结构浅析
人人网技术经理张铁安 Feed系统结构浅析
设计模式分享
设计模式分享
Java常见问题排查
Java常见问题排查
Erlang分布式系统的的领域语言
Erlang分布式系统的的领域语言
13 tips for a highly engaging feed
13 tips for a highly engaging feed
Depoimento de Amaury Jr ne PF
Depoimento de Amaury Jr ne PF
20140717 about openstreetmap
20140717 about openstreetmap
Lesson 7 1 Part 2 1
Lesson 7 1 Part 2 1
Fleury no inferno
Fleury no inferno
About OSM japan at the Association of Japanese Geographers
About OSM japan at the Association of Japanese Geographers
Miguli Basic
Miguli Basic
Space hackathon5
Space hackathon5
Collaborative 3D Modelling and Printing: What you See is not Directly What Yo...
Collaborative 3D Modelling and Printing: What you See is not Directly What Yo...
Alfredorodriguez
Alfredorodriguez
Michigan Ppt[1]
Michigan Ppt[1]
Hi France24 Iht Harris Poll Leaders Barometer April2009
Hi France24 Iht Harris Poll Leaders Barometer April2009
Ähnlich wie 微博cache设计谈
Timyang新浪微博设计谈
Timyang新浪微博设计谈
Cevin Cheung
Tup2 新浪杨卫华
Tup2 新浪杨卫华
yongboy
杨卫华:微博cache设计浅谈
杨卫华:微博cache设计浅谈
Leechael
Kiosk / PHP
Kiosk / PHP
Basuke Suzuki
Cache on Delivery
Cache on Delivery
SensePost
SDEC2011 NoSQL concepts and models
SDEC2011 NoSQL concepts and models
Korea Sdec
BuilHigh Performance Weibo Platform-Qcon2011
BuilHigh Performance Weibo Platform-Qcon2011
Yiwei Ma
04 standard class library c#
04 standard class library c#
Victor Matyushevskyy
ログ収集プラットフォーム開発におけるElasticsearchの運用
ログ収集プラットフォーム開発におけるElasticsearchの運用
LINE Corporation
Amazon Aurora로 안전하게 migration 하기
Amazon Aurora로 안전하게 migration 하기
Jesang Yoon
A Case Study of NoSQL Adoption: What Drove Wordnik Non-Relational?
A Case Study of NoSQL Adoption: What Drove Wordnik Non-Relational?
DATAVERSITY
Introducing Amplify
Introducing Amplify
appendTo
Html5: Something wicked this way comes (Hack in Paris)
Html5: Something wicked this way comes (Hack in Paris)
Krzysztof Kotowicz
Nuxeo World Session: CMIS - What's Next?
Nuxeo World Session: CMIS - What's Next?
Nuxeo
OSDC 2013 | Introduction into Chef by Andy Hawkins
OSDC 2013 | Introduction into Chef by Andy Hawkins
NETWAYS
OSMC 2016 - Monitor your infrastructure with Elastic Beats by Monica Sarbu
OSMC 2016 - Monitor your infrastructure with Elastic Beats by Monica Sarbu
NETWAYS
OSMC 2016 | Monitor your Infrastructure with Elastic Beats by Monica Sarbu
OSMC 2016 | Monitor your Infrastructure with Elastic Beats by Monica Sarbu
NETWAYS
ActiveRecordのテーブル名の話
ActiveRecordのテーブル名の話
Akira Ohta
初心者向けGAE/Java説明資料
初心者向けGAE/Java説明資料
Shinichi Ogawa
iPhone dev intro
iPhone dev intro
Vonbo
Ähnlich wie 微博cache设计谈
(20)
Timyang新浪微博设计谈
Timyang新浪微博设计谈
Tup2 新浪杨卫华
Tup2 新浪杨卫华
杨卫华:微博cache设计浅谈
杨卫华:微博cache设计浅谈
Kiosk / PHP
Kiosk / PHP
Cache on Delivery
Cache on Delivery
SDEC2011 NoSQL concepts and models
SDEC2011 NoSQL concepts and models
BuilHigh Performance Weibo Platform-Qcon2011
BuilHigh Performance Weibo Platform-Qcon2011
04 standard class library c#
04 standard class library c#
ログ収集プラットフォーム開発におけるElasticsearchの運用
ログ収集プラットフォーム開発におけるElasticsearchの運用
Amazon Aurora로 안전하게 migration 하기
Amazon Aurora로 안전하게 migration 하기
A Case Study of NoSQL Adoption: What Drove Wordnik Non-Relational?
A Case Study of NoSQL Adoption: What Drove Wordnik Non-Relational?
Introducing Amplify
Introducing Amplify
Html5: Something wicked this way comes (Hack in Paris)
Html5: Something wicked this way comes (Hack in Paris)
Nuxeo World Session: CMIS - What's Next?
Nuxeo World Session: CMIS - What's Next?
OSDC 2013 | Introduction into Chef by Andy Hawkins
OSDC 2013 | Introduction into Chef by Andy Hawkins
OSMC 2016 - Monitor your infrastructure with Elastic Beats by Monica Sarbu
OSMC 2016 - Monitor your infrastructure with Elastic Beats by Monica Sarbu
OSMC 2016 | Monitor your Infrastructure with Elastic Beats by Monica Sarbu
OSMC 2016 | Monitor your Infrastructure with Elastic Beats by Monica Sarbu
ActiveRecordのテーブル名の話
ActiveRecordのテーブル名の話
初心者向けGAE/Java説明資料
初心者向けGAE/Java説明資料
iPhone dev intro
iPhone dev intro
Kürzlich hochgeladen
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Edi Saputra
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
Sandro Moreira
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
Rustici Software
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Product Anonymous
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Zilliz
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
apidays
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Jago de Vreede
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
danishmna97
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
MadyBayot
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Remote DBA Services
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
Overkill Security
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
The Digital Insurer
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Angeliki Cooney
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
apidays
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
Kürzlich hochgeladen
(20)
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
微博cache设计谈
1.
cache
@TimYang
2.
Agenda • Feed •
Cache
3.
• •
, status feed •
4.
Feed •
feed • Push( ) • Pull( ) •
5.
Push •
feed • Inbox: • Outbox: • inbox( ) • Inbox( )
6.
Push • • •
7.
Pull •
outbox( ) • Inbox( ) • Online computation
8.
Pull • •
9.
• • •
10.
Cache memory is the
new disk, and disk is the new tape. for "real-time" web applications, and systems that require massive scalability - Jim Gray
11.
Cache
12.
cache
Weibo cache arch Inbox hot cache Outbox Vector cache Archive cache Social Following Followers users Graph Content Hot cache Total
13.
Inbox •
“ ” • cache id list • (hot cache) • get set • redis list/set
14.
Outbox • •
id list(e.g. 100) • id LRU
15.
Social Graph cache •
Following ids • Followers • • • delete all
16.
Content cache •
cache • • • • Open API xml, json...
17.
Cache • •
18.
Update Workflow
Update status Content cache Hot Inbox Vector Outbox vector Content cache replication
19.
•
outbox hot vector • followers list • inbox
20.
feed
Home timeline Workflow home_timeline aggregator Content hot Inbox cache Outbox Vector cache Inbox archive Inbox archive Content cache
21.
feed •
inbox cache • • , following • id list feed
22.
cache • • hot keys • •
mutex
23.
•
Content cache • multi get n feed(n = items/ , e.g. 50) • cache = n * (feed + , e.g. 2k) • 1,000 /
24.
• 1,000
800Mbps •1 8Gbps
25.
•
1G 300~400Mbps • • local cache • •
26.
hot keys • content
cache of • create local cache 1. get user_yaochen_local 2. get user_yaochen 1. set user_yaochen_local:value 3. delete all
27.
cache •
key memcache • • LRU cache, • Memory storage
28.
mutex •
content item cache • db • db • key_mutex key • mutex
29.
•
• S2 • S2 •
30.
S2 • Web 2.0
Social • What’s S2 • Social Platform & • Social Applications • www.s2forum.org
31.
• • Sina App
Engine • • •
32.
Q&A • email: iso1600@gmail.com •
@TimYang
Hinweis der Redaktion
Jetzt herunterladen