Updating tags via http post

How many tags do you think I can safely receive updates from via POST, if they happen every second.
On the outbound side I will send all those tags to an on premise Mqtt broker.

100, 200?

Hi @landersson,

We don’t have any data on this and it is a hard things to estimate. Are you using the M2web API and are you doing a single post with all the tags? Where there are so many factors that come into play this might be something that will need to be tested. I have used the m2web api to write 30 tags every 5 seconds and had no issue. This is a lot less then what you are asking about. If I was to guess 100 tags should be manageable.

Deryck

I’m not using the M2web API, just posting from a remote I/O device connected to one of the LAN ports.

I don’t think i understand what you mean by posting from a remote IO. Are you using an IO server to read data? Can you describe the devices involved and how the ewon is communicating with them.

Regards,
Deryck

The device on the flexys LAN port , which has 15 Analog in, can post /update data tags via http posts.

@landersson Are you using the requesthttpx with basic? What does the post request looks like? Can you upload your code or a backup of your ewon with support files?

If you are doing it all as one call you should be able to do more then tags as there will be less processing. I would expect 200 to be possible but it comes down to the overall load on the Flexy. I still don’t fully follow how you are making the call and there are a lot of variable that come into play.

Regards,
Deryck

The device is updating tags with “/rcgi.bin/UpdateTagForm” url.

Hello @landersson,

I have been discussing this my colleagues in Belgium. This is a bit complex. There is a chance you could hit a limit to the amount of data that can be included in a post request. We generally don’t think this is the case. You will most likely hit a limit on the Flexy. This can be effected by the over all load on the flexy. A big factor for this would be the IO server. For example if you are updating just memory tags this will be quicker and able to handle more tags. Other IO servers need to process the request to send down to a PLC.

We have made an inquiry into the R&D team to see if they can provide a exact answer for the limits.

Regards,
Deryck

Topic closed due to inactivity.