Hacking on the GoPro Plus API
dustin.sallings.org1 pointsby dlsspy0 comments
v, ok := <- c defer close(doneChannel)
(it's also syntactically correct -- you ca't just have a defer block without a function invocation) 2012/09/11 12:28:50 Completed query processing in 82.54ms, 6,266 keys, 1,280 chunks
That means that for that query, it scanned through 6,266 keys in the on-disk b-tree, grouped them into 1,280 separate result "rows" to be reduced and did the necessary computation to emit all of them in under a tenth of a second while lots of other queries were in flight. My "extreme" cases right now are taking under 3 seconds on over half a million keys. I consider that acceptable for two weeks of side-project.