go back

Volume 15, No. 12

TencentCLS: The Cloud Log Service with High Query Performances

Authors:
Muzhi Yu (Peking University)* Zhaoxiang Lin (tencent) Jinan Sun (Peking University) ZHOU RUNYUN (Tencent Cloud Computing (Beijing) Co., Ltd.) Jiang Guoqiang (tencent) hua huang (tencent) Shikun Zhang (Peking University)

Abstract

With the trend of cloud computing, the cloud log service is becoming increasingly important, as it plays a critical role in tasks such as root cause analysis, service monitoring and security audition. To meet these needs, we provide Tencent Cloud Log Service (TencentCLS), a one-stop solution for log collection, storage, analysis and dumping. It currently hosts more than a million tenants, of which the largest ones can generate up to PB-level logs per day. The most important challenge that TencentCLS faces is to support both low-latency and resource-efficient queries on such large quantities of log data. To address that challenge, we propose a novel search engine based upon Lucene. The system features a novel procedure for querying logs within a time range, an indexing technique for the time field, as well as optimized query algorithms dedicated to multiple critical and common query types. As a result, the search engine at TencentCLS gains significant performance improvements against Lucene. It achieves ~20x performance increase with standard queries, and ~10x performance increase with histogram queries in massive log query scenarios. In addition, TencentCLS also supports storing and querying with microsecond-level time precision, as well as the microsecond-level time order preservation capability.

PVLDB is part of the VLDB Endowment Inc.

Privacy Policy