Caching for Improved Response Times in a Distributed System

To cope with slow response times that emerge in data-centric web applications, caching can be used to avoid unnecessary database queries and recalculations. Slow response times become prevalent when using Insights — a tool that gathers data from continuously expanding databases and summarizes it int...

Full description

Bibliographic Details
Main Author: Enzell, Viktor
Format: Others
Language:English
Published: Uppsala universitet, Institutionen för informationsteknologi 2019
Subjects:
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:uu:diva-396385
id ndltd-UPSALLA1-oai-DiVA.org-uu-396385
record_format oai_dc
spelling ndltd-UPSALLA1-oai-DiVA.org-uu-3963852019-11-05T04:31:02ZCaching for Improved Response Times in a Distributed SystemengEnzell, ViktorUppsala universitet, Institutionen för informationsteknologi2019Engineering and TechnologyTeknik och teknologierTo cope with slow response times that emerge in data-centric web applications, caching can be used to avoid unnecessary database queries and recalculations. Slow response times become prevalent when using Insights — a tool that gathers data from continuously expanding databases and summarizes it into statistical information. Insights has a master-slave system architecture, composed of one central server and a number of distributed servers with accompanying databases. A solution that entails caching server responses in each of the distributed servers is proposed, and a prototype is developed. The cache is filled both by computing responses for common requests in advance and by dynamically updating the cache. Randomized tests that simulate expected access patterns show that the prototype has a better average hit ratio than a purely dynamic cache and a notably improved response time compared to having no cache, rendering it a promising cache design to appropriate in the Insights system. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:uu:diva-396385IT ; 19025application/pdfinfo:eu-repo/semantics/openAccess
collection NDLTD
language English
format Others
sources NDLTD
topic Engineering and Technology
Teknik och teknologier
spellingShingle Engineering and Technology
Teknik och teknologier
Enzell, Viktor
Caching for Improved Response Times in a Distributed System
description To cope with slow response times that emerge in data-centric web applications, caching can be used to avoid unnecessary database queries and recalculations. Slow response times become prevalent when using Insights — a tool that gathers data from continuously expanding databases and summarizes it into statistical information. Insights has a master-slave system architecture, composed of one central server and a number of distributed servers with accompanying databases. A solution that entails caching server responses in each of the distributed servers is proposed, and a prototype is developed. The cache is filled both by computing responses for common requests in advance and by dynamically updating the cache. Randomized tests that simulate expected access patterns show that the prototype has a better average hit ratio than a purely dynamic cache and a notably improved response time compared to having no cache, rendering it a promising cache design to appropriate in the Insights system.
author Enzell, Viktor
author_facet Enzell, Viktor
author_sort Enzell, Viktor
title Caching for Improved Response Times in a Distributed System
title_short Caching for Improved Response Times in a Distributed System
title_full Caching for Improved Response Times in a Distributed System
title_fullStr Caching for Improved Response Times in a Distributed System
title_full_unstemmed Caching for Improved Response Times in a Distributed System
title_sort caching for improved response times in a distributed system
publisher Uppsala universitet, Institutionen för informationsteknologi
publishDate 2019
url http://urn.kb.se/resolve?urn=urn:nbn:se:uu:diva-396385
work_keys_str_mv AT enzellviktor cachingforimprovedresponsetimesinadistributedsystem
_version_ 1719287246273642496