prometheus/storage/local
beorn7 e22f26bc58 Move to a queue model for appending samples after all.
Starting a goroutine takes 1-2µs on my laptop. From the "numbers every
Go programmer should know", I had 300ns for a channel send in my
mind. Turns out, on my laptop, it takes only 60ns. That's fast enough
to warrant the machinery of yet another channel with a fixed set of
worker goroutines feeding from it. The number chosen (8 for now) is
low enough to not really afflict a measurable overhead (a big
Prometheus server has >1000 goroutines running), but high enough to
not make sample ingestion a bottleneck.
2015-02-13 14:26:54 +01:00
..
codable Clean up license issues. 2015-01-21 20:07:45 +01:00
flock Use named returns in flock.New. 2015-01-19 14:31:16 +01:00
index Declare storage.local.index-cache-size.* default values as tweaked. 2015-01-29 13:04:54 +01:00
chunk.go Clean up license issues. 2015-01-21 20:07:45 +01:00
crashrecovery.go Improve performance of ingestion. 2015-02-12 18:12:37 +01:00
delta.go Clean up license issues. 2015-01-21 20:07:45 +01:00
instrumentation.go Clean up license issues. 2015-01-21 20:07:45 +01:00
interface.go Simplify AppendSamples by allowing it to be goroutine-unsafe. 2015-02-13 12:13:22 +01:00
locker.go Fix and improve the fp locker. 2014-11-25 17:07:45 +01:00
locker_test.go Fix a few concurrency issues before starting to use the new fp locker. 2014-11-25 17:07:45 +01:00
persistence.go Move to a queue model for appending samples after all. 2015-02-13 14:26:54 +01:00
persistence_test.go Clean up license issues. 2015-01-21 20:07:45 +01:00
preload.go Clean up license issues. 2015-01-21 20:07:45 +01:00
series.go Improve performance of ingestion. 2015-02-12 18:12:37 +01:00
storage.go Move to a queue model for appending samples after all. 2015-02-13 14:26:54 +01:00
storage_test.go Improve performance of ingestion. 2015-02-12 18:12:37 +01:00
test_helpers.go Clean up license issues. 2015-01-21 20:07:45 +01:00