Presecedence of Notifications and Connection Async Methods
Posted: Fri Aug 07, 2009 2:47 pm
by Torrie >> Sat, 22 Nov 2003 15:15:45 GMT
I've got a process perfoming a continuous listen on a TCP/IP port. When a new connection arrives it passes the connection to an existing worker process that reads the message and processes it. Once the worker has finished it fires a notification on the listener process to tell it that it is free again. If there are no workers then the messages are added to a queue and delt with when a worker reconnects.
After looking at the logs it appeared that I received lots of new connections but no notifications from the workers that were started. Does anyone know if Jade will run the call back method for a new connection even if notifications that are yet to be processed have been received, or if the new connections and notifications are delt with in the same queue?
Thanks
Torrie
I've got a process perfoming a continuous listen on a TCP/IP port. When a new connection arrives it passes the connection to an existing worker process that reads the message and processes it. Once the worker has finished it fires a notification on the listener process to tell it that it is free again. If there are no workers then the messages are added to a queue and delt with when a worker reconnects.
After looking at the logs it appeared that I received lots of new connections but no notifications from the workers that were started. Does anyone know if Jade will run the call back method for a new connection even if notifications that are yet to be processed have been received, or if the new connections and notifications are delt with in the same queue?
Thanks
Torrie