I am using a gurux meter listener and it will keep on listening to port 4051 on XXX.XXX.X.XX server.It is working fine for single meter but if 25000 meter send push data to the same server and port will it work?
I propose that the main application listen to the TCP/IP port, receive only data that meters send, and put received data into the queue. Then, you have a few worker threads with lower priority that take data from the queue and parse received data.
This approach allows you to handle a large number of devices. The needed memory amount stays reasonable and pushing data to the DB doesn't block TCP/IP socket reading.
Your PC must be able to read data from the TCP/IP socket fast enough.
Hi, I propose that the main…
Hi,
I propose that the main application listen to the TCP/IP port, receive only data that meters send, and put received data into the queue. Then, you have a few worker threads with lower priority that take data from the queue and parse received data.
This approach allows you to handle a large number of devices. The needed memory amount stays reasonable and pushing data to the DB doesn't block TCP/IP socket reading.
Your PC must be able to read data from the TCP/IP socket fast enough.
BR,
Mikko