摘要: 用了一阵子mongodb,作一些小结,作为将来的参考。按照以往的习惯,先作一个总览,然后再挑出一些自己比较关注的几个点,作为珠玑,加以串联阐述。 mongodb由C++写就,其名字来自humongous这个单词的中间部分,从名字可见其野心所在就是海量数据的处理。关于它的一个最简洁描述为:scalable, high-performance, open source, schema-free, do... 阅读全文
posted @ 2011-03-05 14:40 飞林沙 阅读(6062) 评论(4) 推荐(1) 编辑
摘要: If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000. def getSum(ma... 阅读全文
posted @ 2011-03-05 00:11 飞林沙 阅读(343) 评论(0) 推荐(0) 编辑