falcon-index

command module
v0.0.0-...-4e448a7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

README

  • 编译
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 

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package doc is a generated protocol buffer package.
Package doc is a generated protocol buffer package.
g

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL