Crom: Faster web browsing using speculative execution

作者: James Mickens , Jeremy Elson , Jon Howell , Jay Lorch

DOI: 10.5555/1855711.1855720

关键词:

摘要: Early web content was expressed statically, making it amenable to straightforward prefetching reduce user-perceived network delay. In contrast, today's rich applications often hide behind JavaScript event handlers, confounding static techniques. Sophisticated use custom code prefetch data and do other anticipatory processing, but these solutions are costly develop application-specific.This paper introduces Crom, a generic speculation engine that greatly simplifies the task of writing low-latency, applications. Crom takes preexisting, non-speculative handlers creates speculative versions, running them in cloned browser context. If user generates speculated-upon event, commits precomputed result real Since is written JavaScript, runs on unmodified client browsers. Using experiments with versions applications, we show pre-commit overhead easily fits within think time. We also speculatively fetching page precomputing its layout can make subsequent loads an order magnitude faster.

参考文章(17)
Robert Richards, Document Object Model (DOM) Pro PHP XML and Web Services. pp. 181- 238 ,(2006) , 10.1007/978-1-4302-0139-7_6
Fay Chang, Keir Faser, Operating System I/O Speculation: How Two Invocations Are Faster Than One usenix annual technical conference. pp. 325- 338 ,(2003)
Jesse James Garrett, Ajax: A New Approach to Web Applications ,(2007)
Richard Koman, Greg Roelofs, PNG: The Definitive Guide ,(1999)
Rafael Lins, Richard Jones, Garbage collection: algorithms for automatic dynamic memory management John Wiley & Sons, Inc.. ,(1996)
Peter Pirolli, James Pitkow, Mining longest repeating subsequences to predict world wide web surfing usenix symposium on internet technologies and systems. pp. 13- 13 ,(1999)
H. Frystyk, L. Masinter, J. Mogul, J. Gettys, R. Fielding, P. Leach, T. Berners-Lee, Hypertext Transfer Protocol -- HTTP/1.1 acm conference on hypertext. ,vol. 2068, pp. 1- 162 ,(1997)
Venkata N Padmanabhan, Jeffrey C Mogul, None, Using predictive prefetching to improve World Wide Web latency ACM SIGCOMM Computer Communication Review. ,vol. 26, pp. 22- 36 ,(1996) , 10.1145/235160.235164