Timecard: controlling user-perceived delays in server-based mobile applications

Providing consistent response times to users of mobile applications is challenging because there are several variable delays between the start of a user's request and the completion of the response. These delays include location lookup, sensor data acquisition, radio wake-up, network transmissi...

Full description

Bibliographic Details
Main Authors: Ravindranath, Lenin, Padhye, Jitendra, Mahajan, Ratul, Balakrishnan, Hari
Other Authors: Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
Format: Article
Language:English
Published: ACM 2021
Online Access:https://hdl.handle.net/1721.1/137388
_version_ 1826212153857671168
author Ravindranath, Lenin
Padhye, Jitendra
Mahajan, Ratul
Balakrishnan, Hari
author2 Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
author_facet Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
Ravindranath, Lenin
Padhye, Jitendra
Mahajan, Ratul
Balakrishnan, Hari
author_sort Ravindranath, Lenin
collection MIT
description Providing consistent response times to users of mobile applications is challenging because there are several variable delays between the start of a user's request and the completion of the response. These delays include location lookup, sensor data acquisition, radio wake-up, network transmissions, and processing on both the client and server. To allow applications to achieve consistent response times in the face of these variable delays, this paper presents the design, implementation, and evaluation of the Timecard system. Timecard provides two abstractions: the first returns the time elapsed since the user started the request, and the second returns an estimate of the time it would take to transmit the response from the server to the client and process the response at the client. With these abstractions, the server can adapt its processing time to control the end-to-end delay for the request. Implementing these abstractions requires Timecard to track delays across multiple asynchronous activities, handle time skew between client and server, and estimate network transfer times. Experiments with Timecard incorporated into two mobile applications show that the end-to-end delay is within 50 ms of the target delay of 1200 ms over 90% of the time. © 2013 ACM.
first_indexed 2024-09-23T15:17:13Z
format Article
id mit-1721.1/137388
institution Massachusetts Institute of Technology
language English
last_indexed 2024-09-23T15:17:13Z
publishDate 2021
publisher ACM
record_format dspace
spelling mit-1721.1/1373882023-04-19T20:43:17Z Timecard: controlling user-perceived delays in server-based mobile applications Ravindranath, Lenin Padhye, Jitendra Mahajan, Ratul Balakrishnan, Hari Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory Providing consistent response times to users of mobile applications is challenging because there are several variable delays between the start of a user's request and the completion of the response. These delays include location lookup, sensor data acquisition, radio wake-up, network transmissions, and processing on both the client and server. To allow applications to achieve consistent response times in the face of these variable delays, this paper presents the design, implementation, and evaluation of the Timecard system. Timecard provides two abstractions: the first returns the time elapsed since the user started the request, and the second returns an estimate of the time it would take to transmit the response from the server to the client and process the response at the client. With these abstractions, the server can adapt its processing time to control the end-to-end delay for the request. Implementing these abstractions requires Timecard to track delays across multiple asynchronous activities, handle time skew between client and server, and estimate network transfer times. Experiments with Timecard incorporated into two mobile applications show that the end-to-end delay is within 50 ms of the target delay of 1200 ms over 90% of the time. © 2013 ACM. 2021-11-04T18:32:55Z 2021-11-04T18:32:55Z 2013-11-03 2019-05-02T17:45:17Z Article http://purl.org/eprint/type/ConferencePaper https://hdl.handle.net/1721.1/137388 Ravindranath, Lenin, Padhye, Jitendra, Mahajan, Ratul and Balakrishnan, Hari. 2013. "Timecard: controlling user-perceived delays in server-based mobile applications." en 10.1145/2517349.2522717 Creative Commons Attribution-Noncommercial-Share Alike http://creativecommons.org/licenses/by-nc-sa/4.0/ application/pdf ACM MIT web domain
spellingShingle Ravindranath, Lenin
Padhye, Jitendra
Mahajan, Ratul
Balakrishnan, Hari
Timecard: controlling user-perceived delays in server-based mobile applications
title Timecard: controlling user-perceived delays in server-based mobile applications
title_full Timecard: controlling user-perceived delays in server-based mobile applications
title_fullStr Timecard: controlling user-perceived delays in server-based mobile applications
title_full_unstemmed Timecard: controlling user-perceived delays in server-based mobile applications
title_short Timecard: controlling user-perceived delays in server-based mobile applications
title_sort timecard controlling user perceived delays in server based mobile applications
url https://hdl.handle.net/1721.1/137388
work_keys_str_mv AT ravindranathlenin timecardcontrollinguserperceiveddelaysinserverbasedmobileapplications
AT padhyejitendra timecardcontrollinguserperceiveddelaysinserverbasedmobileapplications
AT mahajanratul timecardcontrollinguserperceiveddelaysinserverbasedmobileapplications
AT balakrishnanhari timecardcontrollinguserperceiveddelaysinserverbasedmobileapplications