antirez
799eaab940
Streams: fix XREAD ready-key signaling.
...
With lists we need to signal only on key creation, but streams can
provide data to clients listening at every new item added.
To make this slightly more efficient we now track different classes of
blocked clients to avoid signaling keys when there is nobody listening.
A typical case is when the stream is used as a time series DB and
accessed only by range with XRANGE.
2017-12-01 10:24:24 +01:00
..
2017-09-27 11:58:16 +03:00
2017-11-28 18:25:14 +01:00
2017-05-02 15:05:39 +02:00
2016-04-25 16:49:57 +03:00
2013-06-28 16:39:49 +02:00
2014-06-26 18:48:40 +02:00
2016-06-07 16:46:00 -04:00
2017-07-11 00:13:52 +02:00
2017-07-11 00:13:52 +02:00
2017-08-08 17:45:51 +08:00
2016-04-04 08:50:58 +02:00
2017-06-22 11:00:34 +02:00
2017-05-10 09:33:49 +02:00
2015-10-01 13:02:26 +02:00
2015-10-01 13:02:25 +02:00
2017-02-23 22:39:44 +08:00
2017-12-01 10:24:24 +01:00
2016-09-19 14:11:17 +02:00
2017-11-28 18:40:43 +01:00
2017-06-04 15:09:05 +01:00
2017-11-27 18:38:33 +01:00
2017-02-23 22:39:44 +08:00
2015-07-26 15:17:18 +02:00
2014-12-23 09:31:03 -05:00
2014-12-23 09:31:03 -05:00
2017-12-01 10:24:24 +01:00
2017-09-20 11:18:10 +02:00
2016-08-04 15:12:12 +08:00
2017-01-12 09:50:40 +01:00
2017-11-08 17:06:09 +01:00
2017-02-20 17:29:17 +01:00
2014-12-23 09:31:03 -05:00
2014-12-23 09:31:03 -05:00
2017-11-28 12:18:30 +01:00
2017-11-21 23:35:30 +08:00
2014-12-05 12:41:59 +11:00
2017-06-30 10:03:37 +02:00
2015-07-26 15:17:18 +02:00
2017-07-03 19:38:31 +02:00
2016-07-06 16:31:11 +02:00
2016-07-27 11:34:25 +02:00
2016-07-27 11:34:25 +02:00
2016-06-14 14:45:28 +02:00
2017-07-11 12:44:59 +02:00
2016-12-20 15:39:56 +01:00
2016-06-20 23:08:06 +03:00
2017-02-20 17:29:17 +01:00
2015-02-11 10:52:27 +01:00
2017-05-04 17:01:00 +02:00
2017-12-01 10:24:24 +01:00
2017-12-01 10:24:24 +01:00
2017-12-01 10:24:24 +01:00
2015-01-02 11:16:10 -05:00
2015-01-02 11:16:10 -05:00
2014-06-26 18:48:40 +02:00
2017-11-19 16:23:42 +00:00
2017-12-01 10:24:24 +01:00
2015-12-16 17:41:22 +01:00
2017-11-24 13:29:54 +01:00
2017-07-12 11:07:28 +02:00
2017-12-01 10:24:24 +01:00
2015-07-27 14:37:58 +02:00
2017-12-01 10:24:24 +01:00
2014-06-26 18:48:40 +02:00
2015-07-27 14:37:58 +02:00
2016-10-28 19:47:29 +08:00
2016-06-20 23:08:06 +03:00
2014-08-08 10:05:32 +02:00
2017-03-27 16:37:22 +02:00
2017-12-01 10:24:24 +01:00
2017-12-01 10:24:24 +01:00
2017-12-01 10:24:24 +01:00
2017-12-01 10:24:24 +01:00
2017-07-25 23:43:46 +08:00
2017-07-14 22:53:14 +01:00
2017-10-13 13:20:45 -04:00
2017-11-29 17:16:13 +01:00
2016-10-10 01:13:20 +09:00
2017-01-18 17:12:07 +01:00
2017-11-24 09:37:06 +01:00
2014-06-26 18:48:40 +02:00
2017-11-24 11:08:29 +01:00
2016-04-25 16:49:57 +03:00
2016-06-03 18:14:04 +02:00
2017-11-30 18:38:29 +01:00
2017-11-03 10:19:27 +01:00
2015-11-17 15:43:23 +01:00
2015-07-25 17:25:44 +02:00
2017-02-20 17:29:17 +01:00
2017-12-01 10:24:24 +01:00
2017-12-01 10:24:24 +01:00
2017-11-19 16:23:42 +00:00
2015-04-27 12:07:49 +02:00
2015-04-27 12:07:49 +02:00
2017-02-21 17:07:28 +01:00
2017-09-21 12:35:04 +02:00
2017-06-20 16:55:29 +02:00
2015-01-09 11:23:22 +01:00
2015-10-01 13:02:25 +02:00
2015-07-26 15:17:18 +02:00
2014-07-02 16:31:22 +02:00
2017-12-01 10:24:24 +01:00
2015-08-06 18:12:20 +02:00
2017-11-28 18:39:00 +01:00
2017-12-01 10:24:24 +01:00
2016-09-12 13:19:05 +02:00
2017-12-01 10:24:24 +01:00
2016-12-13 10:59:54 +01:00
2017-02-20 17:29:17 +01:00
2016-05-10 06:40:05 +02:00
2015-11-04 17:16:34 +01:00
2015-09-29 17:30:24 +02:00
2017-02-01 17:01:31 +01:00
2016-12-16 09:02:50 +01:00
2014-12-23 09:31:03 -05:00
2014-12-23 09:31:03 -05:00
2017-05-09 16:59:51 +02:00
2017-05-09 16:59:51 +02:00