Skip to content

Fetch device type in parallel for faster startup time in plants with many devices #1

Description

@orlopau

When a new plant is created from a slice of device addresses, the type of the device must be determined.

This is achieved by scanning the SunSpec module table (via modbus). When the tables have been read, they are cached for the runtime of the application.

Scanning devices is currently performed in sequence, but can be easily parallelized, resulting in a huge startup performance gain in plants with many devices.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions