Closed Gobd closed 5 years ago
I think these two lines should be k := "foo" + strconv.Itoa(i) (i instead of n) so that each key is different. This will make the sharded cache look better since keys will be able to spread out.
k := "foo" + strconv.Itoa(i)
Yep, you're right. What a weird mistake -- thanks for noticing it. Will fix shortly.
I think these two lines should be
k := "foo" + strconv.Itoa(i)
(i instead of n) so that each key is different. This will make the sharded cache look better since keys will be able to spread out.