Measure and identify bottlenecks

There are a number of ways to instrument IIoT application components, including using a monitoring tool, such as NewRelic or Prometheus; by attaching a profiling tool, such as JProfiler; or using the profiling tools provided by the data stores while the load test in in progress to get all the metrics, such as CPU, memory, and other performance metrics.

Based on the load test results, it is good to focus on the services that have not met the SLAs, or, as a general rule of thumb—any UI requests that take more than 3 seconds need to be looked at.

Bottlenecks in the system can come in many forms. Key services, such as the service for authentication, for example, could get beaten and can cause cascading delays ...

Get Industrial Internet Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.