SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Link copied. Please paste this link to share this article on your social media post.
Laterly, I am testing the performance to one of my custom EWS server in SmartConnector, in my usage, ES will be as EWS client to consume data from server. And I found some bottleneck, please help analysis the root cause:
1. when ES poll value for 1300 points at one time, by Wireshark, I found it will take around 4 seconds to get the response from EWS server, and in my ES, I will get all updated value around 6 seconds, not too bad.
2. The way I use to poll data is using listview to refresh value to a folder which including 1300 points.
3. However, when I try 1700 points in ES at one time, SmartConnector will response with error message "Request Entity too large". ,the request file data is 82206 bytes already.
4. I found the ES as Ews client to poll value from EWS server, it can't send request command by pages but only in one command, which cause the request data to be too large.
My question:
Without clear the above bottleneck, I can only say my server support 1300-1500 points max only(considering worst case of usage).
BR
-Austen Yin
Link copied. Please paste this link to share this article on your social media post.
Austen,
We completed our investigation today and identified the issue. While most of SmartConnector leverages OWin (which has it's own built in request limits), the EWS Serve capabilities are a little different. For that, normal WCF binding settings are mostly hard coded because we do a "code based" (as opposed to a configuration file based) setup of the ServiceHost's Binding instance.
Unfortunately, that too had a relatively small maximum message size. While we intend to make this configurable in the future, we are going to issue a patch to 2.2 which will extend this limit from the current size of 65536 bytes to 4M. This should address the short term issue.
We hope to get this patch out in the next day or so.
Thanks for your patience on this issue.
Link copied. Please paste this link to share this article on your social media post.
HI Austen,
We are looking into the max SmartConnector 'Serve' request size.
In the mean time, can you send us the save packet capture (.pcap file) and not just the screenshot? It will make it easier for us to understand exactly what is going on.
Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Hi:
@Jeffrey Bowman, @Mark Stemmler
Any updated of it?
Cheers
Austen
Link copied. Please paste this link to share this article on your social media post.
Austen,
Sorry for the late response. We are still investigating and will update when we have more information.
Link copied. Please paste this link to share this article on your social media post.
Austen,
We completed our investigation today and identified the issue. While most of SmartConnector leverages OWin (which has it's own built in request limits), the EWS Serve capabilities are a little different. For that, normal WCF binding settings are mostly hard coded because we do a "code based" (as opposed to a configuration file based) setup of the ServiceHost's Binding instance.
Unfortunately, that too had a relatively small maximum message size. While we intend to make this configurable in the future, we are going to issue a patch to 2.2 which will extend this limit from the current size of 65536 bytes to 4M. This should address the short term issue.
We hope to get this patch out in the next day or so.
Thanks for your patience on this issue.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.