Lune

OSDI2021Top-tier venue

CLP: Efficient and Scalable Search on Compressed Text Logs

Kirk Rodrigues, Yu Luo, Ding Yuan

2021Year
19Top-tier citations

Abstract

This thesis presents the design and implementation of CLP, a tool capable of losslessly compressing unstructured text logs while enabling fast searches directly on the compressed data. Log search and log archiving, despite being critical problems, are mutually exclusive. Widely used log-search tools like Elasticsearch and Splunk Enterprise index the logs to provide fast search performance, yet the size of the index is within the same order of magnitude as the raw log size. Commonly used log archival and compression tools like Gzip provide high compression ratios, yet searching archived logs is a slow and painful process as it first requires decompressing the logs. In contrast, CLP achieves significantly higher compression ratio than all commonly used compressors, yet delivers fast search performance that is comparable or even better than Elasticsearch and Splunk Enterprise. In addition, CLP outperforms Elasticsearch and Splunk Enterprise's log ingestion performance by over 13×, and we show CLP scales to petabytes of logs. CLP's gains come from using a tuned, domainspecific compression and search algorithm that exploits the significant amount of repetition in text logs. Hence, CLP enables efficient search and analytics on archived logs, something that was impossible without it. This thesis and my entire tenure as a graduate student would not be possible without the contributions of several individuals. Moreover, I would not have reached this point in my life without a true plethora of people. Although I cannot mention you all by name here, I am sincerely grateful for your kindness.

First and foremost, I am grateful to my advisor, Ding Yuan. Thanking your advisor is somewhat of a procedural requirement for the acknowledgements section of a thesis, but for me, it is a personal requirement. Thank you to Ding for taking a chance on me and for constantly seeing more in me than I see in myself. I cannot fathom how lucky I am to have joined a research group with an advisor who is ambitious, yet practical and kind. I do not think I would be a graduate student, or at least a happy one, without Ding.

I would also like to thank a handful of professors at the University of Toronto. Michael Stumm has always stepped in when I have asked him for help and has helped in my development whenever he had the opportunity. Importantly, he has been an invaluable resource for Ding's research group. Ashvin Goel and David Lie have also helped whenever I have asked. The ECE department is incredibly lucky to have such a group of professional, kind, and intelligent professors. Finally, my thanks to Robin Sacks for helping me cross the threshold to graduate school.

I would also like to thank my defense committee members: Vijay Chidambaram, Ashvin Goel, Bianca Schroeder, Michael Stumm, and of course Ding Yuan. Your time and feedback was instrumental to this thesis and is much appreciated.

My time as a graduate student would not be as fun without the graduate students I got to work with. A heartfelt thank you to Xu Zhao for welcoming me onto several interesting projects, and for helping me enter the world of research. Similarly, thank you to Yongle Zhang for our time together on some of your projects, and for helping me with more than just research. Thank you to Xiang Ren for letting me share some of the glory of your Linux paper. Finally, thank you to Xu, Yongle, Xiang, David Lion, Adrian Chiu, and Serhei Makarov for many interesting discussions, fun times, and a lot of help through the years.

Next, my tremendous thanks to several friends who have been instrumental to my graduate studies and more. First, thank you to Yu Luo for working with me for all these years, challenging me, allowing me to challenge you, and for being someone the entire research group can always ask for help. Thank you, also, to Chaim Pressman who was instrumental in my academic performance, but has also been an invaluable friend since our time in undergraduate studies. Similarly, thank you to Denis Neogi iii and Michael Naccarato for our time together on our capstone project, and for being great friends and role models.

Thank you to my family for their unconditional support throughout my life and especially, for valuing an education above all else.

Lastly, thank you to Devesh Agrawal and Uber for enabling CLP's deployment in an impactful setting.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

Cited by top-tier papers19

Ask how each one uses it

Builds on2

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines