THENEWSTACK - When Discord migrated its messages cluster from Cassandra to ScyllaDB, it reduced message latencies from 200 milliseconds to 5 milliseconds. To improve efficiency and reduce latencies, Discord engineers built a data service library to streamline queries going to and from the database. This would limit the number of requests putting stress on the database infrastructure. They also created a "Superdisk" made of persistent disks and NVMe SSDs to optimize their hardware for both speed and efficiency.