diff options
author | antirez <antirez@gmail.com> | 2014-07-01 11:43:38 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-07-01 11:47:08 +0200 |
commit | 8612e6de888fe30bd8cfcd0f4ad1979a92434a2f (patch) | |
tree | d9fed85de3ac204bc10d3ff805a12257c00350b1 /src/latency.c | |
parent | d7a07a20121b409bcba47deb1c0eb9f41c2e8f0f (diff) | |
download | redis-8612e6de888fe30bd8cfcd0f4ad1979a92434a2f.tar.gz |
Latency monitor: collect slow commands.
We introduce the distinction between slow and fast commands since those
are two different sources of latency. An O(1) or O(log N) command without
side effects (can't trigger deletion of large objects as a side effect of
its execution) if delayed is a symptom of inherent latency of the system.
A non-fast command (commands that may run large O(N) computations) if
delayed may just mean that the user is executing slow operations.
The advices LATENCY should provide in this two different cases are
different, so we log the two classes of commands in a separated way.
Diffstat (limited to 'src/latency.c')
0 files changed, 0 insertions, 0 deletions