Response time RESTapi?

Hi all,

Is there someone that has data on typical response times on calls with RESTapi asking for a process data value or similar? I believe it might differ between the different controllers (2152/3152 epc1522 etc...)?

Thank you for sharing your knowledge!

//Martin

I am afraid that we do not have any measurements available typical for REST API response times.
Sorry about that.

It’s a tricky moment.
And it depend on number of variables and it’s nesting depth.
Also common cpu load, especially ESM1 core. Actually, I leave ESM1 core free of tasks on 2152 plc.

If you want to get faster data poll, you have to reduce amount of transferring variables. 
For instance, encode (group) boolean variables in word, dword or Lword.
In the same way you can group other numerical types, and then  get it value with partial access.
Unfortunately, this way make your program more complicated.

Also, from FW 2021.9 you can easy deactivate unused system services via WBM. This will reduce cpu load and increase variable exchange  speed.  
FW 2021.9 also demonstrates more fast variable exchange speed, then previous FW versions.

I use this steps to optimize data poll performance on standard eHMI visualization projects. 
But it can be useful in other applications based on PLCNext.

Based on my experience.
Best regards.