antirez
2fa9fb647f
Send AOF diffs from parent to child to improve latency.
2014-07-04 15:27:23 +02:00
antirez
1e8520e84a
Use fsync instead of aof_fsync in final AOF sync.
...
This happens in the child process so we don't care about latency:
better to sync metadata as well.
2014-07-04 11:51:30 +02:00
antirez
57852ff207
Use fsync instead of aof_fsync in final AOF sync.
...
This happens in the child process so we don't care about latency:
better to sync metadata as well.
2014-07-04 11:51:30 +02:00
antirez
3a9acbdb5d
Fixed conditional for aof-write-pending-fsync latency event selection.
2014-07-02 17:42:29 +02:00
antirez
a99766fda1
Fixed conditional for aof-write-pending-fsync latency event selection.
2014-07-02 17:42:29 +02:00
antirez
9bdfff137f
Dependencies updated.
2014-07-02 17:04:14 +02:00
antirez
f0f9d583ad
Dependencies updated.
2014-07-02 17:04:14 +02:00
antirez
db90e562e7
Cast void* to char* to avoid waring in latencyCommand().
2014-07-02 16:56:08 +02:00
antirez
1f665d6e82
Cast void* to char* to avoid waring in latencyCommand().
2014-07-02 16:56:08 +02:00
antirez
0954e4ede9
Properly initialize min/max in latency.c.
2014-07-02 16:55:34 +02:00
antirez
e3c0125b70
Properly initialize min/max in latency.c.
2014-07-02 16:55:34 +02:00
antirez
4a89da385c
latencyStartMonitor() modified to avoid warnings.
2014-07-02 16:53:44 +02:00
antirez
a887af34e1
latencyStartMonitor() modified to avoid warnings.
2014-07-02 16:53:44 +02:00
antirez
2dfe2d9493
Latency monitor: specialize delayed aof writes events.
2014-07-02 16:45:45 +02:00
antirez
53ae687d59
Latency monitor: specialize delayed aof writes events.
2014-07-02 16:45:45 +02:00
antirez
d13384e7d3
LATENCY GRAPH: filling under the curve is more readable.
2014-07-02 16:37:53 +02:00
antirez
a53c734094
LATENCY GRAPH: filling under the curve is more readable.
2014-07-02 16:37:53 +02:00
antirez
0039e2e996
LATENCY GRAPH implemented.
2014-07-02 16:31:22 +02:00
antirez
aa16f87b87
LATENCY GRAPH implemented.
2014-07-02 16:31:22 +02:00
antirez
1760e6ede1
latencyTimeSeries structure max field type fixed.
2014-07-02 16:14:28 +02:00
antirez
6f20482a86
latencyTimeSeries structure max field type fixed.
2014-07-02 16:14:28 +02:00
antirez
b55b72c3e1
Free labels in freeSparklineSequence().
2014-07-02 12:49:14 +02:00
antirez
9d4d810861
Free labels in freeSparklineSequence().
2014-07-02 12:49:14 +02:00
antirez
2127c8e8fa
LATENCY LATEST: add the max field.
2014-07-02 12:40:38 +02:00
antirez
1766d91697
LATENCY LATEST: add the max field.
2014-07-02 12:40:38 +02:00
antirez
71c60780e1
Latency monitor trheshold value is now configurable.
...
This commit adds both support for redis.conf and CONFIG SET/GET.
2014-07-02 12:28:17 +02:00
antirez
e173f7a0e3
Latency monitor trheshold value is now configurable.
...
This commit adds both support for redis.conf and CONFIG SET/GET.
2014-07-02 12:28:17 +02:00
antirez
fa7679c047
ASCII sparklines generation API.
2014-07-02 10:13:53 +02:00
antirez
cc4df5a6b8
ASCII sparklines generation API.
2014-07-02 10:13:53 +02:00
antirez
acb5c58fbb
License added to latency.h.
2014-07-02 10:06:58 +02:00
antirez
ed4980243a
License added to latency.h.
2014-07-02 10:06:58 +02:00
antirez
084f154c94
Latency monitor turned off by default.
...
It is not a good idea to bloat the code with gettimeofday() calls if the
instance is working well, and turning monitoring on at runtime is a
joke.
2014-07-01 17:23:59 +02:00
antirez
b809676a9e
Latency monitor turned off by default.
...
It is not a good idea to bloat the code with gettimeofday() calls if the
instance is working well, and turning monitoring on at runtime is a
joke.
2014-07-01 17:23:59 +02:00
antirez
51116b4638
Latency monitor: more hooks around the code.
2014-07-01 17:19:08 +02:00
antirez
de88bc63d5
Latency monitor: more hooks around the code.
2014-07-01 17:19:08 +02:00
antirez
f765e5a698
Latency monitor: don't add new samples in the same second.
...
Instead we update the old sample with the new latency if it is greater.
2014-07-01 17:12:09 +02:00
antirez
f35abe2ff5
Latency monitor: don't add new samples in the same second.
...
Instead we update the old sample with the new latency if it is greater.
2014-07-01 17:12:09 +02:00
antirez
224b5add47
LATENCY LATEST implemented.
2014-07-01 16:17:33 +02:00
antirez
83beaa886c
LATENCY LATEST implemented.
2014-07-01 16:17:33 +02:00
antirez
69ba6924c9
Latency monitor: command duration is in useconds. Convert.
2014-07-01 16:09:02 +02:00
antirez
753b707d2a
Latency monitor: command duration is in useconds. Convert.
2014-07-01 16:09:02 +02:00
antirez
4ef47b48b0
LATENCY SAMPLES implemented.
2014-07-01 16:07:13 +02:00
antirez
551bee86b4
LATENCY SAMPLES implemented.
2014-07-01 16:07:13 +02:00
antirez
47f819f87d
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.
2014-07-01 11:47:08 +02:00
antirez
8612e6de88
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.
2014-07-01 11:47:08 +02:00
antirez
eabdfb3e30
Latency monitor: basic samples collection.
2014-07-01 11:30:15 +02:00
antirez
d7a07a2012
Latency monitor: basic samples collection.
2014-07-01 11:30:15 +02:00
antirez
3513d5a237
Fix Solaris compilation due to ctime_r() call.
...
Introduced in Redis 2.8.10 because of a change in Sentinel.
This closes issue #1837 .
2014-06-30 16:29:12 +02:00
antirez
0afb7a48c0
Fix Solaris compilation due to ctime_r() call.
...
Introduced in Redis 2.8.10 because of a change in Sentinel.
This closes issue #1837 .
2014-06-30 16:29:12 +02:00
antirez
ff58279939
DEBUG CMDKEYS moved to COMMAND GETKEYS.
2014-06-27 12:22:15 +02:00