Stats Command
The For the stats command in 4 series version , the sever returns a struct for the statistics, the client then formats this.
However this meant we would break client/server api api, if the struct was changed between releases. If we added new statistics.
...
Whenever we checkpoint the full defs is written to disk.
This uses ecFlow defeinition definition format, where it can done faster the boost or even Json serialisation.
In series 5 we take the server takes advantage of this by caching this as a string before writing it out as the checkpoint file.
...
- Invoke the command
- call the sync command, This then syns syncs the changes in from the server, into the client
In the 5 series version we support auto sync, which effectively combines the two separate commands into one.
...