plc4x-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christofer Dutz (JIRA)" <>
Subject [jira] [Created] (PLC4X-120) Query optimizer for PLC4X Requests
Date Mon, 06 May 2019 13:22:00 GMT
Christofer Dutz created PLC4X-120:

             Summary: Query optimizer for PLC4X Requests
                 Key: PLC4X-120
             Project: Apache PLC4X
          Issue Type: New Feature
          Components: Core
            Reporter: Christofer Dutz

Almost all protocols support asking for multiple items in one request. However the size of
a request is usually limited.
Now there are multiple possible optimizations possible:
- Aggregate items that are close to each other (Instead of reading multiple bytes which are
located in close proximity, load one byte array instead)
- Rearange the items so request and response are filled to the maximum
- Split the request up into multiple requests
For the S7 driver I had implemented the last part, but not the others.
Instead of implementing this for one protocol (as I did for S7) she's going to try to implement
this in a generic fashion so we can add this as a layer in all Java drivers (can port things
to other languages later). Currently all protocols except s7 read each item in a single request,
which is highly imperformant.

This message was sent by Atlassian JIRA

View raw message