JANUS: Benchmarking Commercial and Open-Source Cloud and Edge Platforms for Object and Anomaly Detection Workloads

With diverse IoT workloads, placing compute and analytics close to where data is collected is becoming increasingly important. We seek to understand what is the performance and the cost implication of running analytics on IoT data at the various available platforms. These workloads can be compute-light, such as outlier detection on sensor data, or compute-intensive, such as object detection from video feeds obtained from drones. In our paper, Janus, we profile the performance/$ and the compute versus communication cost for a compute-light IoT workload and a compute-intensive IoT workload. In addition, we also look at the pros and cons of some of the proprietary deep-learning object detection packages, such as Amazon Rekognition, Google Vision, and Azure Cognitive Services, to contrast with open-source and tunable solutions, such as Faster R-CNN (FRCNN). We find that AWS IoT Greengrass delivers at least 2X lower latency and 1.25X lower cost compared to all other cloud platforms for the compute-light outlier detection workload. For the compute-intensive streaming video analytics task, an open-source solution to object detection running on cloud VMs saves on dollar costs compared to proprietary solutions provided by Amazon, Microsoft, and Google, but loses out on latency (up to 6X). If it runs on a low-powered edge device, the latency is up to 49X lower.

[1]  Qiang Ni,et al.  IoT-Driven Automated Object Detection Algorithm for Urban Surveillance Systems in Smart Cities , 2018, IEEE Internet of Things Journal.

[2]  Trevor Darrell,et al.  Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation , 2013, 2014 IEEE Conference on Computer Vision and Pattern Recognition.

[3]  Rakesh Kumar,et al.  VideoChef: Efficient Approximation for Streaming Video Processing Pipelines , 2018, USENIX Annual Technical Conference.

[4]  Jinkyu Koo,et al.  Tiresias: Context-sensitive Approach to Decipher the Presence and Strength of MicroRNA Regulatory Interactions , 2018, Theranostics.

[5]  Saurabh Bagchi,et al.  Rafiki: a middleware for parameter tuning of NoSQL datastores for dynamic metagenomics workloads , 2017, Middleware.

[6]  Paul Wood,et al.  Dependability in edge computing , 2017, Commun. ACM.

[7]  Paul Wood,et al.  SOPHIA: Online Reconfiguration of Clustered NoSQL Databases for Time-Varying Workloads , 2019, USENIX Annual Technical Conference.

[8]  Ranveer Chandra,et al.  Artificial Intelligence for Digital Agriculture at Scale: Techniques, Policies, and Challenges , 2020, ArXiv.

[9]  Saurabh Bagchi,et al.  OPTIMUSCLOUD: Heterogeneous Configuration Optimization for Distributed Databases in the Cloud , 2020, USENIX Annual Technical Conference.

[10]  Xianbin Wang,et al.  Recursive Principal Component Analysis-Based Data Outlier Detection and Sensor Data Aggregation in IoT Systems , 2017, IEEE Internet of Things Journal.

[11]  Saurabh Bagchi,et al.  Hybrid Low-Power Wide-Area Mesh Network for IoT Applications , 2020, IEEE Internet of Things Journal.

[12]  Xuanzhe Liu,et al.  Approximate Query Processing on Autonomous Cameras , 2019, ArXiv.

[13]  Saurabh Bagchi,et al.  ApproxNet: Content and Contention Aware Video Analytics System for the Edge , 2019, ArXiv.

[14]  Parinaz Naghizadeh Ardabili,et al.  Resilient Cyberphysical Systems and their Application Drivers: A Technology Roadmap , 2019, ArXiv.

[15]  Paarijaat Aditya,et al.  SAND: Towards High-Performance Serverless Computing , 2018, USENIX Annual Technical Conference.

[16]  Ananth Grama,et al.  Opening up the blackbox: an interpretable deep neural network-based classifier for cell-type specific enhancer predictions , 2016, BMC Systems Biology.

[17]  David A. Patterson,et al.  Cloud Programming Simplified: A Berkeley View on Serverless Computing , 2019, ArXiv.

[18]  Christopher Kanan,et al.  Stream-51: Streaming Classification and Novelty Detection from Videos , 2020, 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW).

[19]  Michael S. Bernstein,et al.  ImageNet Large Scale Visual Recognition Challenge , 2014, International Journal of Computer Vision.

[20]  Ross B. Girshick,et al.  Fast R-CNN , 2015, 1504.08083.

[21]  Shaoshuai Mou,et al.  Grand Challenges of Resilience: Autonomous System Resilience through Design and Runtime Measures , 2019, ArXiv.

[22]  Ramakrishnan Rajamony,et al.  An updated performance comparison of virtual machines and Linux containers , 2015, 2015 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS).

[23]  Saurabh Bagchi,et al.  ApproxNet: Content and Contention-Aware Video Analytics System for Embedded Clients. , 2019, 1909.02068.

[24]  Kaiming He,et al.  Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks , 2015, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[25]  Saurabh Bagchi,et al.  Minerva: A reinforcement learning-based technique for optimal scheduling and bottleneck detection in distributed factory operations , 2018, 2018 10th International Conference on Communication Systems & Networks (COMSNETS).

[26]  Bukhary Ikhwan Ismail,et al.  Evaluation of Docker as Edge computing platform , 2015, 2015 IEEE Conference on Open Systems (ICOS).

[27]  Saurabh Bagchi,et al.  Tango of edge and cloud execution for reliability , 2019 .