Publication:
I know it when i see it: observable races in JavaScript applications

Placeholder

School / College / Institute

Organizational Unit

Program

KU Authors

Co-Authors

Livshits, Benjamin

Editor & Affiliation

Compiler & Affiliation

Translator

Other Contributor

Date

Language

Embargo Status

N/A

Journal Title

Journal ISSN

Volume Title

Alternative Title

Abstract

Despite JavaScript runtime's lack of conventional threads, the presence of asynchrony creates a real potential for concurrency errors. These concerns have lead to investigations of race conditions in the Web context. However, focusing on races does not produce actionable error reports that would at the end of the day appeal to developers and cause them to fix possible underlying problems. In this paper, we advocate for the notion of observable races, focusing on concurrency conditions that lead to visually apparent glitches caused by non-determinism within the runtime scheduler on the network. We propose and investigate ways to find observable races via systematically exploring possible network schedules and shepherding the scheduler towards correct executions. We propose crowd-sourcing both to spot when different schedules lead to visually broken sites and also to determine under what environment conditions (OS, browser, network speed) these schedules may in fact happen in practice for some fraction of the users.

Source

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Citation

Has Part

Source

Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI)

Book Series Title

Edition

DOI

10.1145/2617548.2617549

item.page.datauri

Link

Rights

N/A

Copyrights Note

Endorsement

Review

Supplemented By

Referenced By

Related Goal

Thumbnail Image
GoalOpen Access
02 - Zero Hunger
Hunger is the leading cause of death in the world. Our planet has provided us with tremendous resources, but unequal access and inefficient handling leaves millions of people malnourished. If we promote sustainable agriculture with modern technologies and fair distribution systems, we can sustain the whole world’s population and make sure that nobody will ever suffer from hunger again.
Thumbnail Image
GoalOpen Access
07 - Affordable and Clean Energy
Renewable energy solutions are becoming cheaper, more reliable and more efficient every day.Our current reliance on fossil fuels is unsustainable and harmful to the planet, which is why we have to change the way we produce and consume energy. Implementing these new energy solutions as fast as possible is essential to counter climate change, one of the biggest threats to our own survival.

0

Views

0

Downloads

View PlumX Details