CockroachDB Videos
← Back to all videos

Comparing Latency: CockroachDB vs Aurora

2023-11-02

CockroachDB in Comparison Demos & Tutorials Performance

Description

Does CockroachDB or Amazon Aurora have faster read/write latency? In this series, Cockroach Labs Technical Evangelist Rob Reid compares read and write latencies in distributed SQL database CockroachDB to the many available cloud service provider databases on the market. Watch the full video to see how CockroachDB compares to AWS Aurora in terms of latency. Rob's test involves comparing latency by creating a database cluster spanning both US East and EU West, deploying an application, and benchmarking performance in both the US and the EU. Want to see the results? Watch the video for Rob's conclusion. 📖 Recommended additional reading: ✔️ Synchronous and asynchronous database replication explained (& how data gets lost) https://cockroa.ch/3Sfk4Am ✔️ CockroachDB's multi-region capabilities (Including how to understand primary and secondary regions and our topology patterns) https://cockroa.ch/3QtS9v8 ✔️ A direct comparison of CockroachDB and AWS Aurora https://cockroa.ch/478D8o5 00:00 Introduction / About our demonstration 00:38 CockroachDB: Spinning up a multiregion CockroachDB serverless cluster on AWS 01:46 AWS Aurora: Spinning up a global database 02:20 Setting up the test for both cloud databases (Launching a fly.io app) 03:33 What are we testing? (An explanation) 05:03 CockroachDB: Viewing a rolling average of read latency and write latency 05:16 CockroachDB: Running the same test but simulating a user in the United States 05:53 AWS Aurora: Checking in on deployment (Creating the secondary cluster) 06:19 Up close with the code used in this testing process 07:26 CockroachDB: Viewing a rolling average of read/write latencies 08:11 AWS Aurora: Simulating a user close to the primary region 09:18 AWS Aurora: Viewing a rolling average of read latency and write latency 09:57 AWS Aurora: Running the same test but simulating a user in the United States 10:42 AWS Aurora: Viewing a rolling average of read/write latencies 11:25 Conclusion #cockroachdb #awsaurora #distributedsql #database