{"title":"基于回归的副本选择算法减少Cassandra聚类的尾部延迟","authors":"Euclides Chauque, Ismail Arai, K. Fujikawa","doi":"10.1109/GCAIoT51063.2020.9345823","DOIUrl":null,"url":null,"abstract":"Online applications adoption, and success are driven by a multitude of factors among them the service response time. This is natural as users tend to prefer a faster service than a slower. However, it is challenging to deliver consistently fast response times due to performance variability inherent to the infrastructure running the application; This performance variability causes a fraction of user requests to experience unusual latency called tail latency. In this work, a Linear Regression Based Replica Selection Algorithm is proposed. The regression model helps to estimate how long a specific query is going to take to be serviced, and based on this information, a server with more or less resources is chosen to service the query. Experiments done using data generated by a fleet of buses show that the proposed approach is successful in reducing the higher percentiles latency up to 30 % in some cases while not impacting negatively the throughput.","PeriodicalId":398815,"journal":{"name":"2020 IEEE Global Conference on Artificial Intelligence and Internet of Things (GCAIoT)","volume":"21 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-12-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Reducing Tail Latency In Cassandra Cluster Using Regression Based Replica Selection Algorithm\",\"authors\":\"Euclides Chauque, Ismail Arai, K. Fujikawa\",\"doi\":\"10.1109/GCAIoT51063.2020.9345823\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Online applications adoption, and success are driven by a multitude of factors among them the service response time. This is natural as users tend to prefer a faster service than a slower. However, it is challenging to deliver consistently fast response times due to performance variability inherent to the infrastructure running the application; This performance variability causes a fraction of user requests to experience unusual latency called tail latency. In this work, a Linear Regression Based Replica Selection Algorithm is proposed. The regression model helps to estimate how long a specific query is going to take to be serviced, and based on this information, a server with more or less resources is chosen to service the query. Experiments done using data generated by a fleet of buses show that the proposed approach is successful in reducing the higher percentiles latency up to 30 % in some cases while not impacting negatively the throughput.\",\"PeriodicalId\":398815,\"journal\":{\"name\":\"2020 IEEE Global Conference on Artificial Intelligence and Internet of Things (GCAIoT)\",\"volume\":\"21 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-12-12\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2020 IEEE Global Conference on Artificial Intelligence and Internet of Things (GCAIoT)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/GCAIoT51063.2020.9345823\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 IEEE Global Conference on Artificial Intelligence and Internet of Things (GCAIoT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/GCAIoT51063.2020.9345823","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Reducing Tail Latency In Cassandra Cluster Using Regression Based Replica Selection Algorithm
Online applications adoption, and success are driven by a multitude of factors among them the service response time. This is natural as users tend to prefer a faster service than a slower. However, it is challenging to deliver consistently fast response times due to performance variability inherent to the infrastructure running the application; This performance variability causes a fraction of user requests to experience unusual latency called tail latency. In this work, a Linear Regression Based Replica Selection Algorithm is proposed. The regression model helps to estimate how long a specific query is going to take to be serviced, and based on this information, a server with more or less resources is chosen to service the query. Experiments done using data generated by a fleet of buses show that the proposed approach is successful in reducing the higher percentiles latency up to 30 % in some cases while not impacting negatively the throughput.