heg3 Yes, my suggestion regarding a single JSON field implies that every time a new execution arrives, the adapter sends the Lightstreamer server the JSON string representing all executions – the new one added to all the existing ones. The Lightstreamer server will then apply JSON Patch optimization and send the client only the minimal necessary changes.
If, for your implementation, maintaining the complete list of executions for each order of all subscribed order books is not feasible, then indeed, this suggestion is not applicable.
No, there is no support in Lightstreamer for a COMMAND mode at field level, but I find the first alternative you proposed interesting.
Essentially, this involves the adapter itself sending a sort of JSON patch to the client that should process the information and re-aggregate the complete list of executions.
I would just confirm that even in this case, you could consider declaring the field as subject to JSON Patch optimization. I don't anticipate significant optimizations, as the fields of each execution will presumably all be different.
However, keep in mind that for each individual update, the server will understand whether it is more efficient to send the complete JSON to the client versus the patch obtained by applying the optimization.
If, on the other hand, you believe, knowing the nature of the data, that applying optimization is just a waste of computational resources, you can forgot it.
Giuseppe