graphite-project / carbon

Carbon is one of the components of Graphite, and is responsible for receiving metrics over the network and writing them down to disk using a storage backend.
http://graphite.readthedocs.org/
Apache License 2.0
1.51k stars 490 forks source link

Create metrics in a queue which can be processed in advance of the write queue #960

Closed bucko909 closed 3 months ago

bucko909 commented 3 months ago

We've had this on a moderately sized production system for some time now and haven't spotted any problems. I started with work on #888 by @ploxiln and the original work by @piotr1212, but this approach is slightly different, and happens to have a slightly more readable diff. Differences:

There are a few behaviour changes:

Deprecates #888

Fixes https://github.com/graphite-project/graphite-web/issues/629

deniszh commented 3 months ago

Looks great, merging this