Cody Soyland
dc50204846
Fix linter issues: unconvert
2018-07-20 11:51:55 -05:00
Matt Jaffee
def3be0f17
remove more dead code
2018-07-05 16:25:04 -05:00
Matt Jaffee
e76a90e69b
change Query and QueryNode to use pilosa.* Query structs
2018-07-05 15:02:33 -05:00
Matt Jaffee
712404b4ec
clean up nopCache
2018-07-02 15:05:00 -05:00
Matt Jaffee
65700f9604
unexport a bunch of cache.go stuff
2018-07-02 14:58:17 -05:00
Travis Turner
7d91261968
un-export some package level constants
2018-06-13 17:18:52 -05:00
Cody Soyland
f2c104dfef
Migrate HTTP handler and client into http subpackage.
2018-06-12 13:22:40 -05:00
Matt Jaffee
4ef266e5cc
revert a bunch of stuff and fix some comments
2018-05-24 16:35:27 -05:00
Todd Gruben
fb7bf11825
Bit -> Column migration
2018-05-23 15:05:22 -05:00
Todd Gruben
575e199ad8
renamed pilosa.Bitmap to Row
2018-05-21 09:12:42 -05:00
Matt Jaffee
68dec9c60a
remove unnecessary capacity in make()
2018-05-15 10:46:41 -05:00
Matt Jaffee
0e38eae6e3
convert time.Now().Sub() to time.Since()
2018-05-15 10:45:58 -05:00
Travis Turner
f2729b90d7
vendor github.com/golang/groupcache/lru. rebuild Gopkg.lock
2018-04-23 10:43:06 -05:00
Travis Turner
0ad65e64b7
use json:omitempty on Pair.Key
2018-01-16 11:21:02 -06:00
Ben Johnson
234d40fe96
Enterprise support.
2018-01-16 11:21:01 -06:00
Travis Turner
b039747887
fix a few typos
2017-11-10 10:45:56 -06:00
Todd Gruben
773019a0f3
corrected nameing
2017-08-28 14:15:59 -05:00
Todd Gruben
60ee6dcfdd
constant cache removal
2017-08-28 14:12:31 -05:00
Todd Gruben
6a70f27f59
account for all same values in rank
2017-08-28 13:46:18 -05:00
Linh Vo
326a162094
fixed review
2017-07-24 22:09:31 -05:00
Linh Vo
2cfcf497e1
add tests for none cache
2017-07-21 00:16:37 -05:00
Linh Vo
f68362c40c
implement nopcache
2017-07-20 16:11:13 -05:00
Michael Baird
59f26ce585
removed no-op stats tracking, fixed typos
2017-05-30 11:13:39 -05:00
Michael Baird
d4e9e5cdbc
cache StatsD recalculate, invalidate, and threshold counts
2017-05-16 15:21:26 -05:00
Michael Baird
4a051900c0
Add sampling rate to StatsD functions, and fix data dog logging
2017-05-16 10:35:49 -05:00
Michael Baird
ee159b455d
Merge remote-tracking branch 'origin/master' into metrics
...
Conflicts:
.gitignore
cluster.go
frame.go
glide.lock
index.go
2017-05-01 10:41:04 -05:00
Cody Soyland
3996b56b88
Apply Apache License 2.0
2017-04-28 14:22:03 -05:00
Michael Baird
d2a7869142
comment cleanup
2017-04-25 16:40:39 -05:00
Michael Baird
3972d0cfaa
added missing comments for godocs
2017-04-25 13:31:12 -05:00
Michael Baird
5a8c165c53
Merge remote-tracking branch 'origin/master' into metrics
...
Conflicts:
cache.go
cluster.go
db.go
executor.go
fragment.go
frame.go
gossip/gossip.go
handler.go
index.go
server.go
server/server.go
2017-04-24 16:35:25 -05:00
Ben Johnson
d34687121f
Rename bitmap/profile to row/column.
2017-04-21 21:23:24 -06:00
Michael Baird
40cb2adef6
add cache stats
2017-04-19 16:27:39 -05:00
Travis
b0f1fc7523
Makes Messenger a first-class object under Server (with pointers in Handler and Index).
...
Primary message interface is the MessageBroker which is an attribute of the Messenger.
MessageBroker implementations:
- Gossip (memberlist)
- Broadcast (uses HTTP, received by existing Handler)
- Static (no-ops)
Changes CacheSize from `int` to `uint32` for consistency with protobuf.
Removes unnecessary dependencies in glide:
- `github.com/aws/aws-sdk-go`
- `golang.org/x/net` (although this gets included by memberlist)
TODO:
- [ ] Add tests around the Messenger and MessageBroker objects.
- [ ] Refactor CreateSliceMessage to work with views.
- [ ] Support propogation of meta data on PATCH calls.
fixing some issues from last rebase
2017-04-19 10:33:26 -05:00
Michael Baird
8e2e9254f7
fixed comment
2017-04-19 10:26:47 -05:00
Michael Baird
e864a45d57
cleaned up the comments and code for the cache threshold. Also made the max size the set value of the cache rather than the calculated index. This ensures the user will not receive less cached values than they expect
2017-04-19 10:26:47 -05:00
Michael Baird
9321637d18
trim the ranked cache set on the 1st recalculate call
2017-04-19 10:06:11 -05:00
Matt Jaffee
e6309d45e1
make sure exported functions are godoc'd
2017-04-18 15:10:59 -05:00
Linh Vo
7979b4d69b
set profile attr for columnLabel
2017-03-24 12:18:59 -05:00
Linh Vo
ac8018c4f3
change Pair struct Key to ID
2017-03-23 12:38:09 -05:00
Linh Vo
67a691dfe0
use id instead of key in topN results
2017-03-23 12:02:57 -05:00
Travis
2b94be965e
Make sure the TopN test is actually using a RankCache supported frame.
...
Implement cache.Recalculate to bypass the 10-second delay built into cache.Invalidate().
2017-03-10 11:07:18 -06:00
Travis
c013661880
bug fix in SimpleCache.Fetch (really just reverting my change)
2017-03-02 16:00:34 -06:00
Travis
cbac9ec88b
move BitmapCache into cache.go. adjust some variable names for clarity
2017-03-02 15:17:21 -06:00
Todd Gruben
9237e7b699
rank cache update after count
...
heap sort order backwards
WIP TopN accuracy
adjusted first phase topn to collect all slices id's
incorrect handling of large topns
cache performance enhancement
fix for failed test TestMain_FrameRestore
remove unused code and fix some variable names
2017-03-02 12:32:53 -06:00
Travis
c368288638
fix BulkAdd comment
2017-02-27 11:54:59 -06:00
Travis
b4d6181285
no longer need to implement Refresh() since that was removed`
2017-02-24 12:57:41 -06:00
Todd Gruben
ff52ffa047
WIP TopN optimization
2017-02-23 15:08:18 -06:00
Todd Gruben
43ede4d9c8
WIP increase caching and topn adjustments
2017-02-21 09:28:01 -06:00
Todd Gruben
028539f10d
top bug in cache refresh
2017-02-17 15:18:38 -05:00
Ben Johnson
c6e2b1294b
Add time-based frames and Range() support.
2016-12-08 12:29:49 -07:00