Hi,
We are in the process of moving some of our applications from VWG and just had a quick question about timers.
Our application is essentially updating (every second) a time label and either a datagrid cell/s or custom user controls. The user interface has 2 view options which essentially are just a list of events being monitored and how long they have been active before. To give you an idea of scale, no more than 100 concurrent sessions and during a peak time there may up to 120 “controls” (controls being either the datagridcell or a custom user control with a label) which all increment their time values.
In VWG, we simply dragged a timer onto the form and looped through the controls and updated on every tick. I can see that WiseJ offers the same functionality but I came across an article Real Time Clock – Wisej and it looks like I could achieve the functionality from a single timer which is shared by all users.
My question is, are there any performance differences between the different approaches? The static timer thread looks like a better option but not sure if I could be pushing it too far with that many controls.
Thanks,
Daniel.
Hi Daniel
Atached you get the sample with all the case of house timers with Wisej
Note that for your question, the better option is the broadcast timer, because this run in a server context and the timer could be running after the first client that activates it goes off
We hope to be helpful
Sorry for the delay. We will send you a sample with 3 different approaches in Wisej shortly, including the same (but better) as VWG.
Please login first to submit.