38

从每秒6000写请求谈起-架构师修行之路

 3 years ago
source link: https://blog.51cto.com/zhanlang/2528951
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
背景每一个片子的幕后,都保留了你的观看记录,详细的记着你观看了几次,跳过了那些时长,据说根据这些数据可以分析出你喜欢哪个日本明星,以此来做定向推送......虽然看起来很简单的一个功能,其实涉及到的数据量非常大,极限情况下为你的用户数*视频数的乘积。那么在只有两个网站服务器,一台sqlserver的情况下,该如何面对这样不算大数据量的写请求呢?为什么说是写请求呢?因为用户观看视频的每一秒你都需要记

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK