上一页 1 ··· 230 231 232 233 234 235 236 237 238 ··· 273 下一页
摘要: TRIZ意译为发明问题的解决理论。TRIZ理论成功地揭示了创造发明的 内在规律和原理,着力于澄清和强调系统中存在的矛盾,其目标是完全解决矛盾,获得最终的理想解。它不是采取折衷或者妥协的做法,而且它是基于技术的发展演 化规律研究整个设计与开发过程, 而不再是随机的行为。实践证明,运用TRIZ理论,可大 阅读全文
posted @ 2017-03-10 14:41 bonelee 阅读(2048) 评论(1) 推荐(0)
摘要: 阅读全文
posted @ 2017-03-10 09:57 bonelee 阅读(1151) 评论(1) 推荐(0)
摘要: searcher.IndexDocument(0, types.DocumentIndexData{Content: "此次百度收购将成中国互联网最大并购"}) engine.go中的源码实现: 而其中: 将请求发送给segmenterChannel,其定义: 而接受请求处理的代码在segmente 阅读全文
posted @ 2017-03-09 23:46 bonelee 阅读(522) 评论(0) 推荐(0)
摘要: 第一步先下载源码,解压后 ./dist/configure --enable-cxx编译,然后make, make install --enable-cxx To build the Berkeley DB C++ API, enter --enable-cxx as an argument to 阅读全文
posted @ 2017-03-09 10:43 bonelee 阅读(980) 评论(0) 推荐(0)
摘要: 功能 列出.o .a .so中的符号信息,包括诸如符号的值,符号类型及符号名称等。所谓符号,通常指定义出的函数,全局变量等等。 使用 nm [option(s)] [file(s)] 有用的options: -A 在每个符号信息的前面打印所在对象文件名称; -C 输出demangle过了的符号名称; 阅读全文
posted @ 2017-03-09 10:18 bonelee 阅读(30160) 评论(0) 推荐(0)
摘要: 本文实例讲述了Go语言的管道Channel用法。分享给大家供大家参考。具体分析如下: channel 是有类型的管道,可以用 channel 操作符 <- 对其发送或者接收值。 ch <- v // 将 v 送入 channel ch。 v := <-ch // 从 ch 接收,并且赋值给 v。 ( 阅读全文
posted @ 2017-03-08 23:04 bonelee 阅读(2981) 评论(0) 推荐(0)
摘要: 能不能把数据暴力的刷到硬盘上,当然是可以的,mongodb给我们提供了fsync+lock机制就能满足我们提的需求。 fsync+lock首先会把缓冲区数据暴力刷入硬盘,然后给数据库一个写入锁,其他实例的写入操作全部被阻塞,直到fsync +lock释放锁为止。 这里就不测试了。 加锁: db.ru 阅读全文
posted @ 2017-03-08 17:39 bonelee 阅读(2362) 评论(0) 推荐(0)
摘要: Compression Compression maximizes the storage capacity of Cassandra nodes by reducing the volume of data on disk and disk I/O, particularly for read-d 阅读全文
posted @ 2017-03-08 17:07 bonelee 阅读(1239) 评论(0) 推荐(0)
摘要: MongoDB 3.0 WiredTiger Compression and Performance One of the most exciting developments over the lifetime of MongoDB must be the inclusion of the Wir 阅读全文
posted @ 2017-03-08 17:00 bonelee 阅读(3146) 评论(0) 推荐(0)
摘要: 结果: 最后补充: cassandra的update和mongo的upsert效果一样!如果where的条件不满足,则会insert into! 见:http://stackoverflow.com/questions/17348558/does-an-update-become-an-implie 阅读全文
posted @ 2017-03-08 11:46 bonelee 阅读(2586) 评论(1) 推荐(0)
上一页 1 ··· 230 231 232 233 234 235 236 237 238 ··· 273 下一页