Asynchronous computation of Histogram/DecayingReservoir functions?
lvca opened this issue · 1 comments
We're using DropWizard in ArcadeDB, but not to measure the ArcadeDB core parts. The reason is simple: histograms are computed synchronously whenever a timer.stop()
or meter.mark()
is executed. The current implementation updates the metrics in the configured DecayingReservoir
implementation that does its job, but it could be computationally expensive.
What about delegating histogram/DecayingReservoir work to an asynchronous task? In this way, incrementing counters and setting variables could be acceptable for most of the core parts with very little and constant elapsed time for measuring.
This issue is stale because it has been open 180 days with no activity. Remove the "stale" label or comment or this will be closed in 14 days.