05 2015 档案

摘要:1.DBImpl::Open1StatusDB::Open(constOptions&options,conststd::string&dbname,2DB**dbptr){3*dbptr=NULL;45DBImpl*impl=newDBImpl(options,dbname);6impl->mut... 阅读全文
posted @ 2015-05-11 17:34 Lawrence.Lau 阅读(921) 评论(0) 推荐(0)
摘要:基本用法数据结构classDBImpl : public DB{private: struct CompactionState; struct Writer;// Information kept for every waiting writer Env* const env_; // 文件,目... 阅读全文
posted @ 2015-05-11 17:33 Lawrence.Lau 阅读(1155) 评论(0) 推荐(0)
摘要:1.源码1StatusDB::Open(constOptions&options,conststd::string&dbname,2DB**dbptr){3*dbptr=NULL;45DBImpl*impl=newDBImpl(options,dbname);6impl->mutex_.Lock()... 阅读全文
posted @ 2015-05-11 17:33 Lawrence.Lau 阅读(413) 评论(0) 推荐(0)
摘要:之前本打算做垂直搜索时使用了python的scrapy抓取 大众点评网的数据。现在准备做一款互联网医疗的产品。爬虫是需要抓取自然理论数据。因此对主流的开源爬虫框架做一个介绍。Java:Nutch,HeritrixC++:Larbin,PolyBotPython:ScrapyErlang:EbotR... 阅读全文
posted @ 2015-05-10 16:37 Lawrence.Lau 阅读(385) 评论(0) 推荐(0)