programming-the-iot / book-exercise-tasks

This repo is for issues / tasks ONLY. All programming and related exercises for each chapter of 'Programming the Internet of Things' are listed here.
Other
11 stars 12 forks source link

PIOT-INF-02-001: System Performance #202

Open labbenchstudios opened 10 months ago

labbenchstudios commented 10 months ago

Review

Read Chapter 2 of Programming the Internet of Things.

Objective

Build and test two simple IoT Edge Tier applications. These applications - the Constrained Device App (CDA - written in Python), and the Gateway Device App (GDA - written in Java) - will just collect basic system performance data (e.g. CPU utilization, memory utilization, etc.) at a regular interval and log it using the system logger.

Activities

Implement the CDA in Python and the GDA in Java. Make sure they pass the tests specified in each requirement.

Both applications are very simple yet provide the foundation for the remaining Edge Tier functionality in the remaining exercises. These will read and report on basic system performance parameters, such as CPU utilization and memory utilization.

You may choose to incorporate additional system performance metrics if you'd like.


Lab Module 02

Lab Module 02 - Add System Performance Monitoring to CDA and GDA is focused on adding initial data generation features to your CDA and GDA. For both applications, you'll add the logic needed to collect basic system performance data and manage a data 'polling' schedule as part of the state of each the application.

Step 1: Read the Lab Module Summary and follow the Configuration steps

Step 2: Follow the CDA specific instructions

Step 3: Follow the GDA specific instructions


NOTE: Each chapter requires familiarity with source code version control using Git. If you're unfamiliar with Git, Git branching, or merging, Atlassian has a useful tutorial on these topics, located here: Git Branching

Review the README

Review the LICENSE and USAGE guidelines