You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "Lukas Ott (Jira)" <ji...@apache.org> on 2022/10/31 19:12:00 UTC

[jira] [Closed] (PLC4X-120) Query optimizer for PLC4X Requests

     [ https://issues.apache.org/jira/browse/PLC4X-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Ott closed PLC4X-120.
---------------------------
    Resolution: Abandoned

> Query optimizer for PLC4X Requests
> ----------------------------------
>
>                 Key: PLC4X-120
>                 URL: https://issues.apache.org/jira/browse/PLC4X-120
>             Project: Apache PLC4X
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Christofer Dutz
>            Priority: Major
>         Attachments: Image from iOS (2).jpg
>
>
> 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
(v8.20.10#820010)