websocketlightstreamer

Force LightStreamer work with higher speed


  1. I have visited a webpage which uses LightStreamer to shows live data. Looking in ws section of Chrome DevTools, i found that server serves data with rate of around 1.5 k/s. While i have access to client LightStreamer and can subscribe my own subscriptions, is there a way to force server works with higher speed?
    I've searched docs for some kind config or property for this, but i have not found anything.

  2. If fields update with different rate - for example some fields are updated per second, some per 30 second and other per minute - Does dividing them into 3 different subscriptions has any impact on speed? I save all the values - changed or not changed- each 10 seconds in db. Thus for 2nd and 3rd part of fields that has not changed during last 10 seconds, Is separating them from 1st part of fields useful for speed of update in 1st part of fields?
    I have checked this in code, and i have seen no difference between merging or splitting fields. Am i right?


Solution

  • You are right. Splitting fields doesn't have any impact on the update rate. On the client-side, you have access to two controls that impact the update rate:

    But these are just your requests... The server is free to refuse them and put a cap on both frequency and bandwidth, based on the configuration decided by the server owner.