-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi set request as performance optimization #417
Comments
@crea7or, for better understanding of your idea do you have any proposal? |
@crea7or - are you looking for something like below, a possibility to use "post" on branch level and instead of just giving a value give a path/value array as argument. so that you e.g. could set both PerformanceMode and GearChangeMode in the same request
|
@erikbosch yep, but prefer full paths like this, because in theory signals from the one frame can be in the different roots:
|
If one set command will be in priority, one value set can be just an object instead of an array of the objects:
|
Another idea is to specify root node(branch) like this:
This syntax will help us to subscribe to the branches to work with them as with composite types. |
Current version of set request allow us to set only one value, even if we'll use filter operation. However it will be very useful to have multi set request. Example - CAN frames processing. CAN frame may contain few signals and we should send them only-by-one right now. Wich is not optimal since all the network code is called as many times as we have signals. It would be much more optimal if we'll fill one reqeust for a few signals at once.
Additionally this multi set reqeust can be used for
agregates
(if spec finally will have it).The text was updated successfully, but these errors were encountered: