NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on January 22, 2016, 10:17:32 AM

Title: NT 9 Sockets and browses
Post by: Alberto on January 22, 2016, 10:17:32 AM
What if you have a browse full of records in which some value change? like a stocks exchange browse? How do you do it with websockets?
Even may be one user having a different browse with differents stocks.
I could not follow your explanation, if you have a minite, may you please write it for me?
Thanks
Title: Re: NT 9 Sockets and browses
Post by: Bruce on January 23, 2016, 03:12:24 AM
With a browse we'd want to develop support for NetRefresh so to send a signal to the browse so that it refreshes itself.

But I think this would be quite an "expensive" operation because it would need to read the table for each client, and so if you had a lot of people with the browse open then that would be quite a large load on the server at one time. So I think if you had more than a few tens of users I would probably avoid refreshing a browse in this way. Especially if there were a lot of records in the browse.

there may be alternative approaches which are better. We'll need to see what happens.

cheers
Bruce


Title: Re: NT 9 Sockets and browses
Post by: Alberto on January 23, 2016, 04:36:56 AM
You can see what I need to do in this twiter video:
https://twitter.com/alePensel/status/677987195584651264
Regards