LeeCampbell / HdrHistogram.NET

Port of the HdrHistorgram to .NET/C#
Other
18 stars 3 forks source link

Create a Recorder #36

Closed LeeCampbell closed 8 years ago

LeeCampbell commented 8 years ago

Consider supporting Recorder (which supports multiple concurrent writers), but that will also require a ConcurrentHistogram.

Question: What is the Recorder?

I think he means Recorder.java and the specialist implementations such as SingleWriterRecorder.java and DoubleRecorder.java

You can see a good pattern for using a Recorder (along with a log writer) in jHiccup: https://github.com/giltene/jHiccup/blob/master/src/main/java/org/jhiccup/HiccupMeter.java#L626

SingleWriterRecorder is probably the most common use case, and the fastest in code. Recorder supports multiple writer threads, which is less commonly needed. DoubleRecorder will only be needed once you port DoubleHistogram.

Taken from https://github.com/HdrHistogram/HdrHistogram.NET/issues/11

LeeCampbell commented 8 years ago

Moved to and Closed by https://github.com/HdrHistogram/HdrHistogram.NET/issues/11