Commit graph

26 commits

Author SHA1 Message Date
Ben Johnson
3c832591df move index package to root package
This commit moves the index package to the root. Because pilosa
is an index at its core, it's redundant to have an index
subpackage. It also provides better naming such as `pilosa.Bitmap`
instead of `index.Bitmap`.
2015-08-31 16:54:53 -06:00
Ben Johnson
306249c293 refactor storage
This commit moves individual storage engines to their own packages.
They can be registered and instantiated by a string name.
2015-08-30 16:49:32 -06:00
Ben Johnson
802970bd80 Convert tests to standard library testing.
This commit converts the goconvey tests to use the
standard library testing format. The query pkg has
not be converted yet because it is more difficult
to convert.
2015-08-15 20:39:38 -06:00
Ben Johnson
2f1e3b6078 Refactor config & service
This commit refactors the config into a `main.Config` object instead
of a global singleton. The `core.Service` is also refactored into
the `main` package and individual pieces of the service are wired
together by the `pilosa` binary.

These two changes are required to begin to decouple packages from
one another and allow them to be individually unit tested. Previously
most top-level objects in the system could access any other top-level
object through the `core.Service` which effectively made `Service` a
singleton in the system. Each top-level object now has inline interfaces
for their dependencies so that can be set at runtime by the `main`
package or can be mocked by a test package.
2015-08-12 15:34:23 -06:00
travisturner
33dd34107a Remove commented code
Some commented test code was left in case these are tests that
need to be implemented.
2015-08-07 17:29:57 -05:00
Ben Johnson
b06ecf3320 Update import path
This commit updates the import path from:

```
pilosa/*
```

to:

```
github.com/umbel/pilosa/*
```

This follows standard Go convention and makes the project "go gettable".

The README was also updated to reflect the changes.
2015-08-05 22:50:38 -06:00
Todd Gruben
98f13fecd8 adjusted loading routines to match intel littleEndian 2015-06-30 16:24:20 +00:00
Todd Gruben
19ccc192ae convert to timing stat 2015-02-23 17:39:25 +00:00
Todd Gruben
7b9472bffe more logging and stats updats 2015-02-10 11:41:36 +00:00
Todd Gruben
377d850534 added new logging setup 2015-02-05 21:09:07 +00:00
Todd Gruben
3189f40da1 added some connection cleanup code for tcp/transport and support for local connections 2014-12-18 21:46:47 +00:00
Todd Gruben
f566296f7c fix for overflow 2014-12-02 20:17:29 +00:00
Todd Gruben
71ece5fe6b added a setbit counter 2014-10-10 15:46:52 +00:00
Todd Gruben
d7be05b216 initial compile of hole filling 2014-08-08 19:33:23 +00:00
Todd Gruben
1b89d79c0a auto allocate .001 2014-06-18 15:09:31 -05:00
Todd Gruben
4a2c3e73d0 converted to main cql driver 2014-06-17 13:06:56 -05:00
Todd Gruben
00643c3ad9 bug in stat loop 2014-04-11 11:09:07 -05:00
Todd Gruben
bbda6a8bb7 prefix stats with pilosa 2014-04-11 10:53:48 -05:00
Todd Gruben
f42b32cb7c changed stats to gauage 2014-04-11 10:31:32 -05:00
Todd Gruben
8420d77ab5 removed ranking from set_bit 2014-04-10 09:50:30 -05:00
Todd Gruben
29f006f506 added some statsd fun 2014-04-09 18:44:00 -05:00
Todd Gruben
15c53cff19 s3 storage abstraction 2014-01-28 18:02:31 -06:00
Todd Gruben
3d1caa37b1 add batch loader 2014-01-17 19:18:59 -06:00
travisturner
0679ed17a2 convert UUID to use "tux21b.org/v1/gocql/uuid" 2014-01-03 17:47:22 -06:00
Todd Gruben
3980fb1fb3 added checking to SSUID 2013-12-17 14:25:16 -06:00
Todd Gruben
92a572bb60 first pass at fragment library api; initial checkin for basic id generator 2013-12-13 14:23:58 -06:00