惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google Online Security Blog
Google Online Security Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
C
CERT Recently Published Vulnerability Notes
C
Cybersecurity and Infrastructure Security Agency CISA
Cisco Talos Blog
Cisco Talos Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
Scott Helme
Scott Helme
Project Zero
Project Zero
E
Exploit-DB.com RSS Feed
S
Secure Thoughts
K
Kaspersky official blog
L
Lohrmann on Cybersecurity
NISL@THU
NISL@THU
WordPress大学
WordPress大学
N
News and Events Feed by Topic
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LINUX DO - 热门话题
小众软件
小众软件
P
Privacy & Cybersecurity Law Blog
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
A
About on SuperTechFans
Hacker News: Ask HN
Hacker News: Ask HN
AWS News Blog
AWS News Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Hacker News: Front Page
F
Full Disclosure
Latest news
Latest news
Schneier on Security
Schneier on Security
The Hacker News
The Hacker News
T
Troy Hunt's Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Jina AI
Jina AI
Martin Fowler
Martin Fowler
P
Proofpoint News Feed
TaoSecurity Blog
TaoSecurity Blog
G
GRAHAM CLULEY
Forbes - Security
Forbes - Security
V
V2EX - 技术
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Vulnerabilities – Threatpost
C
Cyber Attacks, Cyber Crime and Cyber Security
MongoDB | Blog
MongoDB | Blog
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
P
Privacy International News Feed
C
Check Point Blog
N
News and Events Feed by Topic

博客园 - 加菲猫

网宿科技股份有限公司投资者关系活动记录表(2014.3.30) 网宿科技投资者关系活动记录2016年10月31日 [转载]20131206 网宿科技电话交流会纪要 strlcpy和strlcat 114 的 dns 的解析测试 分析ext2文件系统磁盘分区结构 Scaling Redis [ZT] Linuxfs Readinglist wma/mp3等格式转换为apple有声电子书格式(m4b) 以及itunes导入码率设置 Progressive-download 对于文件格式的要求 CDN Origin Pull 牛项目 Harvest CDN设计 - 层级化的cache_A Apple http live streaming 不支持windows? 关于pdf转doc (word) 的工具 - Solid Converter PDF Berkeley DB Hash、Btree、Queue、Recno 选择 一些校园招聘的题目和分析 6"电纸书/电子书 - PaperCrop pdf重排使用心得 A CAP Solution (Proving Brewer Wrong)
CDN设计:[笔记]Analysis of Enterprise Media Server Workloads
加菲猫 · 2011-02-06 · via 博客园 - 加菲猫

这里主要是对paper的笔记,和一些将访问模式应用到实际video CDN系统设计的考虑

【Key new observations】

  • with 77-79%of media sessions being less than 10 min long, 7-12% of the sessions being 10-30 min, and 6-13% ofsessions continued for more than 30 min.

对于对象的cache有两种选择:全部缓存,和部分缓存。部分缓存比完整对象复杂得多,但是看看它能够带来的好处: 有不少的session都是很短的,这里10分钟以下的session达到了77%以上,这样,对于影片之类的大对象的部分缓存,就意味着更加的节省cache资源,而且使用有限的空间,可以得到更高的命中率

  • Most of the incomplete sessions (i.e. terminated by clients before the video was fnished) are accessing the initial segments of media file.

缓存影片头部比缓存整个片子更加划得来,特别是对于冷片,访问头部的session会更多(看了开头就不想看了)

  • high locality of accesses: 14-30% of the files accessed on the server account for 90% of the media sessions

这里都是常识了,常见的20/80规律,不过有些人居然把20/80一个定性的东西当成一个定量的指标就比较杯具了

  • there is a significant number of files that are rarely accessed (16% to 19% of the files are accessed only once)

对于这些影片如何优化cache,是一个可以提高的地方,关键是这部分影片的比例有多少。

  • Zipf Like distribution

这个我也统计过,参见这里(http://blog.lmtw.com/b/peon/archives/2006/39703.html)

IPTV几个site都是a=0.6左右,比paper的a值低很多。这种情况下,20的内容只能覆盖50的sessions

  • Accesses to the new files constitute most of the accesses in any given month

paper里面的enterprise环境会加剧这个倾向,毕竟一些企业的多媒体对象实时性很强,和新闻差不多。但是对于IPTV影视,这个也是成立的。可惜我这里没有更好的数据。一些site会缺省的把新片做一个PUSH,这是值得提倡的

  • For both workloads, 51-52% of accesses to media files occur during the first week of their introduction.

说明大部分新片也会很快变冷,这个充分说明了我2002做的时间加权算法的优越性了,否则统计一个时间窗或者是累计点击次数,都是对于影片的冷热变化趋势不够敏感的

------------------------------------------------------------------------------------

  • 访问时长

  • Zipf统计图

  • New Files 访问占一个月访问的比例

菊子曰 本文用菊子曰发布