Open DGKSK8LIFE opened 3 years ago
Hi @DGKSK8LIFE , have you solved this yet? I'd like to try to solve this
I'm working on one possible solution, but the bug is not definitively resolved. Definitely want to see your solution so go ahead and work on this, ty. @Fajrinmk
Expected Behavior
Performance in
CopyToString
should be comparable to that ofCopyToList
andCopyToHash
.Current Behavior
CopyToString
is over 100% slower than the aforementioned two.Possible Solution
Because of Redis' data structures,
CopyToString
(strings) has to write one key per field, compared toCopyToList
andCopyToHash
that both write one key per row. This is not necessarily something that can be "quick fixed", but with other performance optimizations, especially transactions and pipelining, performance should improve drastically.Steps to Reproduce