Commit graph

36 commits

Author SHA1 Message Date
Ben Johnson
45fd4fc992 flatten util into pilosa
This commit moves ID-related types and functions to the top
level package and moves remaining statsd wrapper into a `statsd`
package.
2015-09-03 14:43:34 -06:00
Ben Johnson
73631de9e8 vet 2015-08-20 13:46:39 -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
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
7b9472bffe more logging and stats updats 2015-02-10 11:41:36 +00:00
Todd Gruben
170fe96661 added new logging technique 2015-02-09 22:26:45 +00:00
Todd Gruben
377d850534 added new logging setup 2015-02-05 21:09:07 +00:00
Todd Gruben
d8d5a8dfcb clear_vits v1 2015-02-05 00:22:12 +00:00
Todd Gruben
e4416a91b8 fixed messaging layer bug 2015-01-26 19:27:00 +00:00
Todd Gruben
8e796a5edf removed pql from setbit path 2015-01-22 17:22:08 +00:00
Todd Gruben
c6e3788a20 first pass at remote setbit, doesn't work 2015-01-21 20:28:07 +00:00
Todd Gruben
f32ca7c3d4 increased some transport buffer sizes 2015-01-13 19:30:28 +00:00
Todd Gruben
dce5ac60c4 increased buffer 2014-12-24 21:42:53 +00:00
Todd Gruben
1e7cbc88f2 ehanced transport 2014-12-20 18:15:32 +00:00
Todd Gruben
ba274ea998 revert back 2014-12-19 00:26:20 +00:00
Todd Gruben
b6d35c16dd bug in tcp close logic 2014-12-19 00:02:13 +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
b3b8c3bc4f more logging in topology 2014-06-23 17:23:41 -05: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
travisturner
6230d820a1 bubble query-planner errors up to final Hold.Set (remove panics) 2014-04-08 23:32:01 -05:00
Cody Soyland
d4dd91973c Add websocket listener for messaging layer. 2014-02-11 18:29:11 -06:00
Cody Soyland
d604019909 Use buffered channels for new connections. 2014-01-17 19:10:23 -06:00
Cody Soyland
a9c1927b8d Better logging and error handling. Removal of fatal errors. 2014-01-17 19:09:25 -06:00
Cody Soyland
ad96f3f720 persistent connection support. 2014-01-17 16:55:40 -06:00
travisturner
266f772c17 got some basic cat/count/bitmap-handles working 2014-01-07 12:23:01 -06:00
travisturner
6968507296 resolved merge conflicts 2014-01-07 08:37:40 -06:00
Cody Soyland
11d964339c Basic ping working. 2014-01-03 18:14:04 -06:00
travisturner
7fc18eca93 a basic executor and QueryStep handler 2014-01-03 15:14:51 -06:00
travisturner
b8be246029 remove temp http server from Transport 2013-12-31 14:05:09 -06:00
travisturner
0ea1b17ea1 add query.Execute(pql) to http/query handler 2013-12-27 13:46:07 -06:00
travisturner
6d7c683a8a added a temp HTTP listener to transport.tcp so i could test the dispatch calls to process (index) 2013-12-27 11:18:51 -06:00
Cody Soyland
781ecd0ce4 gofmt all the things! 2013-12-16 11:21:27 -06:00
Cody Soyland
37167299cb Move things around, lay out framework for transport/dispatch logic 2013-12-13 14:06:49 -06:00
travisturner
c842a04e02 comment out transport test for now 2013-12-13 13:38:23 -06:00
Cody Soyland
76bd3cc222 Messaging and interface changes. 2013-12-13 13:23:16 -06:00