peterbourgon / diskv

A disk-backed key-value store.
http://godoc.org/github.com/peterbourgon/diskv
MIT License
1.4k stars 102 forks source link

[Question] Performance of writes #54

Closed wild-endeavor closed 2 years ago

wild-endeavor commented 5 years ago

We use diskv in one of the services I help maintain at work. Attached is a screenshot of the write performance (in seconds) across a few instances. Have you ever seen this kind of behavior before?

Screen Shot 2019-05-30 at 8 53 08 AM

Most of the time, the writes are extremely fast, but every once in a while, the write time blows up.

Please close the issue is this is not the right place, just not sure where else to post.

peterbourgon commented 5 years ago

I dunno! How do you have your Diskv configured? What hardware does it run on? Absent more context this looks suspiciously like i/o throttling or noisy neighbor behavior on a [tiny] cloud instance, but I don't want to assume.

wild-endeavor commented 5 years ago

Sorry for the delay - we're running these on c5.2xlarge's. Let me investigate our configuration and report back later as well.