Hi all,
What is the best way to send messages, actually data and a fair amount of it, over a tcpip network? A simplified model of what I have is, a server machine that collects thousands of records of data per hour, say from a usb port or some other external device. This data has a location# and then a string of info, and must be routed to one of may client pc's.
I want to push that data to 100 or more client machines, but only the data specifice to that client PC's location#. The data is coming in possibly several records per second, and each client pc must be refreshed every 5 sec. or so. The current ad-hoc solution is to store this data on a database at the server, and have the clients poll the server over a wan. You can see that 100 or more clients hitting this box every 5 seconds to do an index scan and possibly a fetch is going to be a burden, not to mention wan traffic bottlenecks.
What I'd like to do is just hold the data from the usb in some sort of memory array with a Location# and the string of data, and as data for, say, Location# 20 comes in, send that data over the wire to the client at that location, and have something there waiting for these messages. This way the database isn't hit at all, and network traffic from polling is down because I'd be pushing the data.
Thanks for any ideas,
-Jim
What is the best way to send messages, actually data and a fair amount of it, over a tcpip network? A simplified model of what I have is, a server machine that collects thousands of records of data per hour, say from a usb port or some other external device. This data has a location# and then a string of info, and must be routed to one of may client pc's.
I want to push that data to 100 or more client machines, but only the data specifice to that client PC's location#. The data is coming in possibly several records per second, and each client pc must be refreshed every 5 sec. or so. The current ad-hoc solution is to store this data on a database at the server, and have the clients poll the server over a wan. You can see that 100 or more clients hitting this box every 5 seconds to do an index scan and possibly a fetch is going to be a burden, not to mention wan traffic bottlenecks.
What I'd like to do is just hold the data from the usb in some sort of memory array with a Location# and the string of data, and as data for, say, Location# 20 comes in, send that data over the wire to the client at that location, and have something there waiting for these messages. This way the database isn't hit at all, and network traffic from polling is down because I'd be pushing the data.
Thanks for any ideas,
-Jim