News for hackers. Stuff that matters.
Re:How Discord supercharges network disks for extreme low la... by ec109685 on Monday August 15, 2022 @11:54PM (#32479027)
In the article, it states that after a certain point, parallelization hits limits. Is that due to Scylladb's architecture or other constraints within the system?

For reads (unless there is another bottleneck), by 10x'ing the parallelism, an application can compensate for 10x the average latency and still deliver the same throughput.

Scylladb talked about their IO scheduler a good deal:

https://www.scylladb.com/2021/04/06/scyllas-new-io-scheduler...

https://www.scylladb.com/2022/08/03/implementing-a-new-io-sc...

Naively, it seems like it should have been able to compensate for the Persistent Disk latency for read heavy workloads.

Re:How Discord supercharges network disks for extreme low la... by seastarer on Tuesday August 16, 2022 @09:23AM (#32482380)
Persistent Disk read latency is usually good, but jitters up to 100ms. The scheduler can compensate for high latency (essentially applying Little's Law) but cannot compensate for jitter without saturating the disk.
Re:How Discord supercharges network disks for extreme low la... by ec109685 on Tuesday August 16, 2022 @12:07PM (#32484766)
Thanks. Do you see the same spikes with ebs volumes on AWS?
Re:How Discord supercharges network disks for extreme low la... by seastarer on Tuesday August 16, 2022 @01:38PM (#32486116)
Some more data on Google PD: https://raw.githubusercontent.com/scylladb/diskplorer/master...

Very odd - notice how the latency is high when the read IOPS are low. When the read IOPS climb, 95th percentile latency drops.

Looks like there is a constant rate of high latency requests, and when the read IOPS climb, that constant rate moves to a higher quantile. I'd inspect the raw results but they're quite big: https://github.com/scylladb/diskplorer/blob/master/latency-m...

Background: https://github.com/scylladb/diskplorer/

Re:How Discord supercharges network disks for extreme low la... by ec109685 on Wednesday August 17, 2022 @12:15AM (#32492269)
Very interesting. I wonder if higher iops involves reading from more servers and with request hedging it can smooth latency a lot better.
Re:How Discord supercharges network disks for extreme low la... by seastarer on Tuesday August 16, 2022 @01:30PM (#32486015)
No.