{"title":"LETHE:网络数据平面上的实时缓存和负载均衡的组合","authors":"Nehal Baganal Krishna, David Munstein, Amr Rizk","doi":"10.1109/LANMAN58293.2023.10189809","DOIUrl":null,"url":null,"abstract":"Load balancers in distributed caching systems face a fundamental trade-off between networking and caching performance metrics. The first comprises how the network traffic of object requests and replies is balanced on the different links to/from the cache servers while the second denotes cache hit rates and response times. In a nutshell, the root of this trade-off lies in the combination of the skewed popularity and dynamic nature of incoming object requests as well as whether the load balancing function is agnostic to the caching application or not. In this paper, we present Lethe, a network data-plane load balancer for distributed Time-to-Live (TTL) caching. We con-sider TTL caching as it separates the object dynamics but still performs equivalently to many classical caching algorithms (e.g. LRU) under appropriate TTL parametrization. Lethe segregates the cache objects based on the pattern of the incoming requests and efficiently places objects in cache servers to balance the network traffic without sacrificing the caching system hit rate. We implement Lethe in P4 and experimentally show that it improves the average response time and cache hit rate as compared to application-agnostic load balancing even for a skewed and dynamically changing workload.","PeriodicalId":416011,"journal":{"name":"2023 IEEE 29th International Symposium on Local and Metropolitan Area Networks (LANMAN)","volume":"38 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-07-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"LETHE: Combined Time-to-Live Caching and Load Balancing on the Network Data Plane\",\"authors\":\"Nehal Baganal Krishna, David Munstein, Amr Rizk\",\"doi\":\"10.1109/LANMAN58293.2023.10189809\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Load balancers in distributed caching systems face a fundamental trade-off between networking and caching performance metrics. The first comprises how the network traffic of object requests and replies is balanced on the different links to/from the cache servers while the second denotes cache hit rates and response times. In a nutshell, the root of this trade-off lies in the combination of the skewed popularity and dynamic nature of incoming object requests as well as whether the load balancing function is agnostic to the caching application or not. In this paper, we present Lethe, a network data-plane load balancer for distributed Time-to-Live (TTL) caching. We con-sider TTL caching as it separates the object dynamics but still performs equivalently to many classical caching algorithms (e.g. LRU) under appropriate TTL parametrization. Lethe segregates the cache objects based on the pattern of the incoming requests and efficiently places objects in cache servers to balance the network traffic without sacrificing the caching system hit rate. We implement Lethe in P4 and experimentally show that it improves the average response time and cache hit rate as compared to application-agnostic load balancing even for a skewed and dynamically changing workload.\",\"PeriodicalId\":416011,\"journal\":{\"name\":\"2023 IEEE 29th International Symposium on Local and Metropolitan Area Networks (LANMAN)\",\"volume\":\"38 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-07-10\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2023 IEEE 29th International Symposium on Local and Metropolitan Area Networks (LANMAN)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/LANMAN58293.2023.10189809\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 IEEE 29th International Symposium on Local and Metropolitan Area Networks (LANMAN)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/LANMAN58293.2023.10189809","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
LETHE: Combined Time-to-Live Caching and Load Balancing on the Network Data Plane
Load balancers in distributed caching systems face a fundamental trade-off between networking and caching performance metrics. The first comprises how the network traffic of object requests and replies is balanced on the different links to/from the cache servers while the second denotes cache hit rates and response times. In a nutshell, the root of this trade-off lies in the combination of the skewed popularity and dynamic nature of incoming object requests as well as whether the load balancing function is agnostic to the caching application or not. In this paper, we present Lethe, a network data-plane load balancer for distributed Time-to-Live (TTL) caching. We con-sider TTL caching as it separates the object dynamics but still performs equivalently to many classical caching algorithms (e.g. LRU) under appropriate TTL parametrization. Lethe segregates the cache objects based on the pattern of the incoming requests and efficiently places objects in cache servers to balance the network traffic without sacrificing the caching system hit rate. We implement Lethe in P4 and experimentally show that it improves the average response time and cache hit rate as compared to application-agnostic load balancing even for a skewed and dynamically changing workload.