This commit moves ID-related types and functions to the top level package and moves remaining statsd wrapper into a `statsd` package. |
||
|---|---|---|
| cmd/pilosa | ||
| core | ||
| db | ||
| dispatch | ||
| etc | ||
| executor | ||
| Godeps | ||
| hold | ||
| query | ||
| statsd | ||
| storage | ||
| transport | ||
| .gitignore | ||
| benchmark_autogen_test.go | ||
| bitmap.go | ||
| blocks.go | ||
| brand.go | ||
| brand_test.go | ||
| commands.go | ||
| fragment_container.go | ||
| fragment_container_test.go | ||
| general.go | ||
| id.go | ||
| id_test.go | ||
| Makefile | ||
| popcnt.go | ||
| popcnt_amd64.s | ||
| popcnt_asm.go | ||
| popcnt_generic.go | ||
| README.md | ||
| storage.go | ||
| timeframe.go | ||
| timeframe_test.go | ||
| util.go | ||
pilosa
Pilosa is a bitmap index database.
Getting Started
Pilosa uses the new Go 1.5 vendoring experiment. To enable this, you'll need
to export an environment variable in your .profile:
export GO15VENDOREXPERIMENT=1
Then you can download the source by running go get:
$ go get github.com/umbel/pilosa
Now you can install the pilosa binary:
$ go install github.com/umbel/pilosa/...
Pilosa requires that etcd is running locally for coordinating the cluster:
# In another terminal window
$ etcd
Now run pilosa with the default configuration:
pilosa
This setup assumes that cassandra and etcd are running locally and that
cassandra keyspace pilosa has been setup as describe in the file
index/storage_cass.go.
If you don't want backend storage you can comment out storage_backend in the config file and it will just operate out of memory.
Development
Updating dependencies
To update dependencies, you'll need to install godep:
$ go get -u github.com/tools/godep
Then save the dependencies in your project:
$ godep save ./...
Make sure you have set the GO15VENDOREXPERIMENT environment variable!
Running tests
Because of a bug in Go 1.5, you'll need to run make test to exclude tests
the the vendor/ directory.