将数以百万计的数据迁移到云端的旅程
Journey of Migrating Millions of Queries on The Cloud
摘要:
Treasure Data每天在云端处理数百万个分布式SQL查询。在这种规模下升级查询引擎服务具有挑战性,因为我们需要将客户的所有生产查询迁移到新版本,同时保持数据处理管道的正确性和性能。为了确保查询引擎的质量,我们利用我们的查询日志来构建客户特定的基准,并在安全的预生产环境中使用真实的客户数据重放这些查询。为了模拟数以百万计的查询,我们需要有效地最小化测试查询集,并更好地报告模拟结果,以主动发现新版本的不兼容更改和性能回归。本文介绍了我们的系统的总体设计,并分享了在云上保持查询引擎服务质量的各种挑战。
英文摘要:
Treasure Data is processing millions of distributed SQL queries every day on the cloud. Upgrading the query engine service at this scale is challenging because we need to migrate all of the production queries of the customers to a new version while preserving the correctness and performance of the data processing pipelines. To ensure the quality of the query engines, we utilize our query logs to build customer-specific benchmarks and replay these queries with real customer data in a secure pre-production environment. To simulate millions of queries, we need effective minimization of test query sets and better reporting of the simulation results to proactively find incompatible changes and performance regression of the new version. This paper describes the overall design of our system and shares various challenges in maintaining the quality of the query engine service on the cloud.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。