MoMIT: Porting a JavaScript Interpreter on a Quarter Coin

05/25/2019
by   Rodrigo Morales, et al.
0

The Internet of Things (IoT) is a network of physical, heterogeneous, connected devices providing services through private networks and the Internet. It connects a range of new devices to the Internet so they can communicate with Web servers and other devices around the world. Today's standard platform for communicating Web pages and Web apps is JavaScript (JS) and extending the same standard platform to connect IoT devices seems more than appropriate. However, porting JS applications to the large variety of IoT devices, specifically on System-on-a-Chip (SoCs) devices ( Arduino Uno, Particle ), is challenging because these devices are constrained in terms of memory and storage capacity. Running JS applications adds an overhead of resources to deploy a code interpreter on the devices. Also, running JS applications may not be possible "as is" on some device missing some hardware/software capabilities. To address this problem, we propose a multiobjective optimization approach to miniaturize JS applications to run on IoT constrained devices. To validate , we miniaturize a JS interpreter to execute a testbed comprised of 23 applications and measure their performances before and after applying the miniaturization process. We implement using three different search algorithms and found that it can reduce code size, memory usage, and CPU time by median values of 31%, 56%, and 36% respectively. Finally, MoMIT ported the miniaturized JS interpreters up to to 2 SoCs additional devices, in comparison of using default JS interpreter features.

READ FULL TEXT
research
09/07/2019

WoTify: A platform to bring Web of Things to your devices

The Internet of Things (IoT) has already taken off, together with many W...
research
06/12/2019

Visual Wake Words Dataset

The emergence of Internet of Things (IoT) applications requires intellig...
research
09/16/2021

Strategic Remote Attestation: Testbed for Internet-of-Things Devices and Stackelberg Security Game for Optimal Strategies

Internet of Things (IoT) devices and applications can have significant v...
research
12/29/2020

Optimizing IoT and Web Traffic Using Selective Edge Compression

Internet of Things (IoT) devices and applications are generating and com...
research
09/21/2020

Time-to-Provision Evaluation of IoT Devices Using Automated Zero-Touch Provisioning

The Internet of Things (IoT) is being widely adopted in today's society,...
research
03/21/2021

Checkpointing and Migration of IoT Edge Functions

The serverless and functions as a service (FaaS) paradigms are currently...
research
05/27/2021

Hailstorm : A Statically-Typed, Purely Functional Language for IoT Applications

With the growing ubiquity of Internet of Things(IoT), more complex logic...

Please sign up or login with your details

Forgot password? Click here to reset