Case Study: Tuya achieves 150 μs P99 latency and 75% lower hardware costs with PingCAP TiKV

A PingCAP Case Study

Preview of the Tuya Case Study

Tuya reduces latency to 150 μs and hardware cost by 75% with PingCAP

Tuya Smart, a global Internet of Things (IoT) development platform, faced a significant challenge in handling massive data growth while ensuring real-time query responses of less than 10 milliseconds. Their existing solutions, AWS Aurora and Apache Ignite, failed to meet these stringent performance requirements under their high transaction volume. To solve this, they turned to PingCAP and implemented TiKV, a distributed key-value database.

By deploying PingCAP's TiKV directly, bypassing the SQL layer for lower latency, Tuya achieved remarkable results. The solution reduced their P99 query latency to 150 microseconds and write latency to 360 microseconds. Furthermore, PingCAP's TiKV enabled Tuya to reduce its hardware costs by 75% while successfully managing their immense daily load of 84 billion requests.


View this case study…

PingCAP

64 Case Studies