[PATCH 09/18] vinyl: cache dump bandwidth for timer invocation

Konstantin Osipov kostja at tarantool.org
Mon Aug 20 14:21:45 MSK 2018


* Vladimir Davydov <vdavydov.dev at gmail.com> [18/08/16 23:03]:
> We don't need to compute a percentile of dump bandwidth histogram on
> each invocation of quota timer callback, because it may only be updated
> on dump completion. Let's cache it. Currently, it isn't that important,
> because the timer period is set to 1 second. However, once we start
> using the timer for throttling, we'll have to make it run more often and
> so caching the dump bandwidth value will make sense.

OK to push.


-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov



More information about the Tarantool-patches mailing list