Abstract

This paper analyzes the impact of time to live (TTL) on system performance. If the cache content hits within the effective time of TTL, it will reduce the access pressure on the source server. If the TTL setting is too long, the consistency of cache content cannot be guaranteed. In order to solve the balance between cache hit rate and data consistency, a new adaptive cache mechanism based on TTL is proposed, which can dynamically adjust the TTL according to the dynamic changes of user visits and the updated characteristics of different web page data. When the TTL expires, only the first user is allowed to send a request to the source server to update the cache, Reject requests from other users until the update is complete. Experiments show that this mechanism can significantly improve the performance of the system.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.