No description or website provided.
Go Shell Python
Latest commit 4e448a7 Nov 6, 2016 @laiwei committed on GitHub Merge pull request #1 from nieanan/master
do some fix
Permalink
Failed to load latest commit information.
doc
g do some fix Nov 6, 2016
http
index
.gitignore
LICENSE
NOTICE init Oct 13, 2016
README.md add readme Oct 14, 2016
control
gen_test_data.py
main.go
main_test.go
test-metadata.json

README.md

  • 编译
go get ./...
./control build
  • 生成1000个counter作为测试数据
python gen_test_data.py 1000 > test-metadata.json 
  • 建立索引文件
 mkdir -p ./var/ && ./falcon-index  &> buildindex.log

建立好的索引文件就是 ./var/index.db

  • 本地测试一下

    go test
    
  • 跑一下benchmark

    go test -bench="."
    
  • 作为server端启动,提供http查询API

    ./falcon-index -s