minikeyvalue
minikeyvalue copied to clipboard
optimize WriteToReplicas for better performance
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