minikeyvalue icon indicating copy to clipboard operation
minikeyvalue copied to clipboard

optimize WriteToReplicas for better performance

Open kqiq opened this issue 2 years ago • 0 comments

creates a buffered reader to read the value, also calculates the hash of the value before writing to the reps if needed and writes to the replicas in parallel using goroutines uses channels to wait for all of them to complete

kqiq avatar Jan 01 '23 19:01 kqiq