Dear Poco maintainers,
I have been testing SocketReactor scalability and have come across some interesting behavior running on a windows XP machine.
When simultaneously connecting multiple clients (issue occurs after ~60) the ServiceHandler simply stops receiving callbacks.
I have tracked the issue all the way to the Observer callback method:
which is not calling the appropriate class method ie. void onReadable(ReadableNotification pNf)
The same thing happens when I attempt to call a direct method on the ServiceHandler from the observer.
Note that the reactor is running in a separate thread, and I am using the test EchoServiceHandler so no thread locking is used. This is not a deadlock situation.
In the mean time I have implemented my own reactor which used async callbacks using my own callback code and no such problems arise. Note that async callbacks also significantly improve the reactor performance, is that something that might be considered for Poco?
I have never experienced such behavior, but no doubt you are much more experienced programmers than I. Perhaps you can explain / fix it?