Twitter数据分析的统一日志基础设施
The Unified Logging Infrastructure for Data Analytics at Twitter
摘要:
近年来,在大规模数据分析方面有大量的工作,这些工作使用在大型商用机器集群上运行的基于Hadoop的平台。一个较少探讨的主题是如何收集和结构化这些由应用程序日志主导的数据。在本文中,我们提出了Twitter的生产日志记录基础设施和它的演变,从特定于应用程序的日志记录到一个统一的“客户端事件”日志格式,其中的消息被捕获在共同的,格式良好的,灵活的节俭的消息。由于大多数分析任务将用户会话视为分析的基本单元,因此我们预先实现了“会话序列”,这些会话序列是可以快速回答大量常见查询的紧凑摘要。此基础设施的开发简化了日志收集和数据分析,从而提高了我们快速试验和验证服务各个方面的能力。
英文摘要:
In recent years, there has been a substantial amount of work on large-scale data analytics using Hadoop-based platforms running on large clusters of commodity machines. A less-explored topic is how those data, dominated by application logs, are collected and structured to begin with. In this paper, we present Twitter's production logging infrastructure and its evolution from application-specific logging to a unified "client events" log format, where messages are captured in common, well-formatted, flexible Thrift messages. Since most analytics tasks consider the user session as the basic unit of analysis, we pre-materialize "session sequences", which are compact summaries that can answer a large class of common queries quickly. The development of this infrastructure has streamlined log collection and data analysis, thereby improving our ability to rapidly experiment and iterate on various aspects of the service.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。