摘要: 在:http://www.lmdb.tech/bench/inmem/ 2. Small Data Set Using the laptop we generate a database with 20 million records. The records have 16 byte keys a 阅读全文
posted @ 2017-01-22 20:30 bonelee 阅读(5812) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.codeg.cn/2016/02/02/wukong-source-code-reading/ 索引过程分析 下面我们来分析索引过程。 这里需要注意的是,docId参数需要调用者从外部传入,而不是在内部自己创建,这给搜索引擎的实现者更大的自由。 将文档交给分词器处理,然 阅读全文
posted @ 2017-01-22 20:17 bonelee 阅读(646) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.codeg.cn/2016/02/02/wukong-source-code-reading/ 搜索过程分析 下面我们来分析一下搜索的过程。首先构造一个SearchRequest对象。一般情况下只需提供SearchRequest.Text即可。 从本文一开始那段示例代码 阅读全文
posted @ 2017-01-22 20:17 bonelee 阅读(541) 评论(0) 推荐(0) 编辑
摘要: 用bash开5个python进程来测试写入性能,注意:当集群数目增加,应当增加bash脚本的并发进程数! test_cass.py bash run.sh 阅读全文
posted @ 2017-01-22 15:37 bonelee 阅读(846) 评论(0) 推荐(0) 编辑
摘要: Keyspaces A cluster is a container for keyspaces. A keyspace is the outermost container for data in Cassandra, corresponding closely to a schema in a 阅读全文
posted @ 2017-01-22 10:55 bonelee 阅读(2198) 评论(1) 推荐(0) 编辑