News for hackers. Stuff that matters.
Re:7 Years Of YouTube Scalability Lessons In 30 Minutes by hendzen on Monday March 26, 2012 @04:04PM (#3758390)
"They wrote their own BSON implementation which is 10-15 times faster than the one you can download."

Curious to hear more about that one. If true, I hope they open source it, because that could potentially make MongoDB a lot faster for everyone.

EDIT: It's apparently in their vitess code. Relevant code: http://code.google.com/p/vitess/source/browse/#hg%2Fgo%2Fbso...

Re:7 Years Of YouTube Scalability Lessons In 30 Minutes by willvarfar on Tuesday March 27, 2012 @06:30AM (#3760816)
fwiw I've done some python benchmarking; it happens that I'm actually genuinely needing a faster protocol right now: http://stackoverflow.com/questions/9884080/fastest-packing-o...
Re:7 Years Of YouTube Scalability Lessons In 30 Minutes by supersillyus on Monday March 26, 2012 @08:00PM (#3759252)
I believe it could be faster still. Their Itoa cache is a map[int]string, where it could be a []string. Also, I suspect that a few more primitive type special cases in the first type switch in EncodeField could go a long way.
Re:7 Years Of YouTube Scalability Lessons In 30 Minutes by willvarfar on Tuesday March 27, 2012 @02:11AM (#3760277)
I got the impression that the 15x they talk of is on the Python side?