Profiling distributed systems in lightweight virtualized environments with logs and resource metrics
Profiling distributed systems in lightweight virtualized environments with logs and resource metrics
复制标题
使用日志和资源指标分析轻量级虚拟化环境中的分布式系统
DOI:
10.1145/3208040.3208044
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
Mike Ji
中科院分区:
文献类型:
--
作者:
Aidi Pi;Wei Chen;Xiaobo Zhou;Mike Ji
Understanding and troubleshooting distributed systems in the cloud is considered a very difficult problem because the execution of a single user request is distributed to multiple machines. Further, the multi-tenancy nature of cloud environments further introduces interference that causes performance issues. Most existing troubleshooting tools either focus on log analysis or intrusive tracing methods, leaving resource usage monitoring unexplored. We propose and implement LRTrace, a non-intrusive tracing and feedback control tool for distributed applications in lightweight virtualized environments. LRTrace profiles both log messages and actual resource consumptions of an application at runtime in a fine-grained manner, which is made possible by lightweight container-based virtualization. By correlating these two kinds of information, LRTrace provides users the ability to build the relationship between changes in resource consumption and application events. Furthermore, LRTrace allows users to define and implement their own feedback control plug-ins to manage the cluster in a semi-automatic manner. In system evaluation, we run Spark and MapReduce applications in a multi-tenant cluster and show that LRTrace can diagnose performance issues caused by either interference or bugs, or both. It also helps users to understand the workflows of data-parallel applications.