Publication:

Optimizing Content Distribution Network Caches with Machine Learning

datacite.rightsopen.access
dc.contributor.advisorLloydLi, WyattKai
dc.contributor.authorSONG, ZHENYU
dc.contributor.otherComputer Science Department
dc.date.accessioned2023-10-06T20:15:39Z
dc.date.accessioned2026-12-04T11:31:06Z
dc.date.available2023-10-06T20:15:39Z
dc.date.available2026-12-04T11:31:06Z
dc.date.created2023-01-01
dc.date.issued2023
dc.description.abstractContent Distribution Networks (CDNs) play a pivotal role in Internet traffic. A key part of this caching mechanism is the eviction algorithm that handles the replacement of old cached objects. The effectiveness of the eviction algorithm significantly influences CDN performance. This dissertation explores the application of machine learning (ML) to optimize cache eviction algorithms in CDNs. The central questions addressed in this work are: how to utilize ML to devise an eviction algorithm that surpasses existing heuristics on byte miss ratio, and how to mitigate the CPU overhead while enhancing the robustness of a learned cache in large-scale deployment. Two major challenges faced in the design of a learning-based cache eviction algorithm include heterogeneous user access patterns across different locations and times, and computational and space overheads. To address these challenges, we developed two ML-based eviction algorithms, Learning Relaxed Belady (LRB) and Heuristic Aided Learned Preference (HALP). LRB is the first CDN cache algorithm to directly approximate the Belady MIN (oracle) algorithm by learning access patterns, providing a significant improvement over traditional eviction algorithms. It demonstrated a WAN traffic reduction of 4-25\% across six production CDN traces in our simulation. HALP, on the other hand, achieves low CPU overhead and robust DRAM byte miss ratio improvement by augmenting a heuristic policy with ML. It has shown to reduce DRAM byte miss during peak by an average of 9.1\%, with a modest CPU overhead of 1.8\%, while deployed in YouTube CDN production clusters. This study contributes towards using machine learning to develop robust cache eviction algorithms with low miss ratios and low overheads, thereby enhancing the efficiency of CDNs. The findings of this research have been applied in industry deployment with significant production impact.
dc.format.mimetypeapplication/pdf
dc.identifier.urihttp://arks.princeton.edu/ark:/88435/dsp012227ms977
dc.identifier.urihttps://theses-dissertations.princeton.edu/handle/88435/dsp012227ms977
dc.language.isoen
dc.publisherPrinceton, NJ : Princeton University
dc.subject.classificationComputer science
dc.titleOptimizing Content Distribution Network Caches with Machine Learning
dc.typeAcademic dissertations (Ph.D.)
dspace.entity.typePublication
pu.date.classyear2023
pu.departmentComputer Science

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
SONG_princeton_0181D_14731.pdf
Size:
3.57 MB
Format:
Adobe Portable Document Format

Collections