In Q1 of 2024, the Coinbase Exchange platform facilitated transactions exceeding 300 billion dollars, achieving throughput of up to 100K RPS, and sub-millisecond latencies. This talk presents a detailed case study of the optimizations done to this Golang and grpc based trading platform for its performance enhancement, which includes: 1. Shifting from unary to bi-directional streaming for certain parts of the system. 2. Replacing Protobuf with Flat Buffers for underlying message format of gRPC. 3. Modifying the Golang scheduler and threading model to cater to ultra-low latency demands. 4. Profiling & benchmarking This case study will also explore the practical aspects of deploying these enhancements in a live, zero-downtime production environment, covering maintaining backward and forward compatibility, and implementing A/B testing strategies. Overall, this case study will provide benchmark data on latencies and throughputs for cutting-edge trading systems in cloud environments.
Thursday July 17, 2025 11:35am - 11:55am PDT Valley Oak