Better HN
topnewbestaskshowjobs
Log inSign up

amanmangal

5 karma · joined Feb 18, 2019 (7y ago) · 4 submissions

Software Engineer
Submissions

comment 7y ago · link · parent

correct!

comment 7y ago · link · parent

Our current plan is to store []byte given that badger stores blobs of bytes. Using interface{} may have some overhead, but we are no so worried about that right now.

comment 7y ago · link · parent

We just updated the graphs to show throughput numbers instead. Should be more clear now.

comment 7y ago · link · parent

This is true that the latency of each operation won't change much as we increase concurrent accesses, but the amortized latency would (be expected to) reduce as the graphs show. When we did benchmarks, the Go benchmark framework provides us with ns/ops which we directly used to plot the graphs. We could calculate ops/sec too but that would just be another step of calculation using throughput = 1/(time taken/ops), may be more clear to understand though. The graphs would still flatten out after 20 concurrent accesses.