Is there any difference b/w sdk-dotnet adapters of Moderato & commercial editions
Hi,
is there any difference between sdk-dotnet adapters of Moderato Edition and commercial edition (that is, Lightstreamer Allegro, Presto, or Vivace)
because on my machine I installed two editions and I made some changes to dotnet adapter in moderato edition according my requirements, Here LS can push the data on to client perfectly. But when I copy and replace the same dotnet adapter onto commercial edition, The LS unable to push the data onto client continuosly (after pushing first time the connection is closing). Any suggestions regarding this issue.
No, there is no difference. We have to investigate the behaviour on the Allegro/Presto/Vivace version of your application in more depth.
Which connection do you observe it's closing? Client-Server or Server-Remote Server?
May you please show us the Server log?
I see that the connection is not really closed, but it is rebound 2 times in a few seconds (which is unusual), then it remains open until a page reload is performed.
Moreover, the "Content length too small" warning is issued, which is unusual as well;
this case should never happen, as the <content_length> setting in the Server configuration file should always be large enough.
May you please check the <content_length> setting?
I see that you subscribe to 256 fields. Are your updates very large? A Server log with the LightstreamerLogger.pump category at DEBUG would reveal this.
Dario I checked the <content_length> setting of configuration file, there I am not changing any thing it was actually a default setting.
Yes, I am subscribing for 256 fields and my updates for each filed are about 2 kb to 3 kb.
And for your information with the same settings I can push the data continuosly onto client in moderato edition but the same thing is not happening with commecial version.
Here I am attaching log files(generated today) of moderato edition & commercial edition.
If the update length is so huge, then the bandwidth restrictions become important.
Indeed the Moderato and commercial editions differ on this aspect.
Note that your client requests a bandwidth limit to the Server of 10 kbps, which is very low. While in Moderato edition the feature is not supported and the request is ignored (as shown in the log), in the commercial edition the limit is applied and this slows down the updates flow very much.
Are you really interested to bandwidth control in your application or did you just forget the "setMaxBandwidth" call in your client code?
About the "Content length too small" warning, it seems not to signal any problem in this case; however, it should be avoided, by enlarging the <content_length> setting.
Bookmarks