caosuwei

13 Flips | 1 Magazine | 2 Following | @caosuwei | Keep up with caosuwei on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “caosuwei”

B+Tree index structures in InnoDB

<i>[This post refers to innodb_ruby version 0.8.8 as of February 3, 2014.]</i><p>In On learning InnoDB: A journey to the core, I introduced the innodb_diagrams …

atomic Weapons: The C++ Memory Model and Modern Hardware

[ETA: Updated OneDrive slides link]Most of the talks I gave at <i>C++ and Beyond 2012</i> last summer are already online at Channel 9. Here are two more.This …

Medium

First NetflixOSS Meetup<p><i>by Adrian Cockcroft and Ruslan Meshenberg</i><p>The inaugural Netflix Open Source Software (NetflixOSS) meetup was held at Netflix …

Medium

Netflix Queue: Data migration for a high volume web application<p>There will come a time in the life of most systems serving data, when there is a need …

Comment on nicstat 网络流量统计利器 by Linux常用系统性能监控命令 – Log@X.X.B

[…] http://blog.yufeng.info/archives/2518 […]

裸体计划:用裸照告诉女性身体的真相[NSFW]

yehao @ 2013.03.07 , 14:47<p>#本文链接内容全部18X,小朋友勿点,也请大家带艺术眼光看待。<p>女性裸体在媒体上并不少见,但通常我们能看到的都是经过筛选的大小和体型。裸体计划——由明尼阿波里斯市(美国城市)摄影师 Matt Blum 所拍摄的裸照合集,意在改变这种现状。<p>Blum 在 …

也谈C语言的Struct Hack

今天在浏览网友huangz编写的“Redis源码分析”时,看到如下redis中的代码:<p>struct sdshdr { <br>int len; <br>int free; <br>char buf[];<br>};<p>说实话,这类代码我见过很多,但直到这次我才知道这种coding trick的真实英文称谓是:Struct Hack。<p>到 …

多核与异步并行

<i>原文发表于《程序员》杂志2012年第9期,文字略有修改。</i>我们在设计多线程程序时往往有很多性能指标,例如低延迟(latency),高吞吐量(throughput),高响应度(responsiveness)等。随着多核处理器上CPU核数的日益增加,如何高效地利用这些计算资源以满足这些设计目标变得越来越重 …

On the k-atomicity-verification problem

用 NetHogs 监控 Linux 每个进程的网络使用情况

有时候我们客户会发现服务器或 VPS 网络慢,进一步发现大量带宽被占用,一些客户到这里为止就不知道怎么办了。有什么简单办法能找出哪个程序(或者进程)占用了带宽呢?Linux 监控流量的小工具不少,如 iftop, iptraf, ifstat, darkstat, bwm-ng, vnstat 等, …