ThingsMigrate: Platform-Independent Migration of Stateful JavaScript IoT Applications
The Internet of Things (IoT) has gained wide popularity both in academic and industrial contexts. As IoT devices become increasingly powerful, they can run more and more complex applications written in higher-level languages, such as JavaScript. However, by their nature, IoT devices are subject to resource constraints, which require applications to be dynamically migrated between devices (and the cloud). Further, IoT applications are also becoming more stateful, and hence we need to save their state during migration transparently to the programmer.
In this paper, we present ThingsMigrate, a middleware providing VM-independent migration of stateful JavaScript applications across IoT devices. ThingsMigrate captures and reconstructs the internal JavaScript applications state using a code instrumentation and restoration-based approach, without modifying the underlying Virtual Machine (VM), thus providing platform and VM-independence. We evaluated ThingsMigrate against standard benchmarks, and over two IoT platforms and a cloud-like environment. We show that it can successfully migrate even highly CPU-intensive applications, with acceptable overheads (about 30%), and can also support multiple migrations.
Fri 20 Jul
13:50 - 15:30: ECOOP Research Papers - Runtime Systems at Zurich II Chair(s): Christian HammerUniversity of Potsdam | ||||||||||||||||||||||||||||||||||||||||||
13:50 - 14:15 Research paper | Mohaned QunaibitUniversity of California, Irvine, Stefan BrunthalerBundeswehr University Munich, Yeoul Na, Stijn VolckaertUniversity of California, Irvine, Michael FranzUniversity of California, Irvine DOI | |||||||||||||||||||||||||||||||||||||||||
14:15 - 14:40 Research paper | DOI Pre-print Media Attached | |||||||||||||||||||||||||||||||||||||||||
14:40 - 15:05 Research paper | Julien Gascon-Samson, Kumseok JungUniversity of British Columbia, Shivanshu GoyalUniversity of British Columbia, Armin Rezaiean-AselUniversity of British Columbia, Karthik PattabiramanUniversity of British Columbia DOI | |||||||||||||||||||||||||||||||||||||||||
15:05 - 15:30 Research paper | Tianxiao Gu, Xiaoxing MaNanjing University, Chang XuNanjing University, Yanyan JiangNanjing University, Chun CaoNanjing University, Jian LuNanjing University DOI |