summaryrefslogtreecommitdiff
path: root/releasenotes/notes/redis-improvement-d4c91683fc89f570.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'releasenotes/notes/redis-improvement-d4c91683fc89f570.yaml')
-rw-r--r--releasenotes/notes/redis-improvement-d4c91683fc89f570.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/releasenotes/notes/redis-improvement-d4c91683fc89f570.yaml b/releasenotes/notes/redis-improvement-d4c91683fc89f570.yaml
new file mode 100644
index 0000000..c2ee2b9
--- /dev/null
+++ b/releasenotes/notes/redis-improvement-d4c91683fc89f570.yaml
@@ -0,0 +1,16 @@
+---
+features:
+ - |
+ Redis storage schema is optimized for higher performance.
+ Previously Redis driver stored each tracing event under its own key,
+ as result both list and get operations required full scan of the database.
+ With the optimized schema traces are stored as Redis lists under a key
+ equal to trace id. So list operation iterates only over unique
+ trace ids and get operation retrieves content of a specified list.
+ Note that list operation still needs to retrieve at least 1 event
+ from the trace to get a timestamp.
+upgrade:
+ - |
+ The optimized Redis driver is backward compatible: while new events are stored
+ using new schema the driver can retrieve existing events using both old and new
+ schemas.