Hi Jon,
first congrats for your work.
I have a tricky question, in case we run Pushy in a container and we instance it twice form 2 webapps, due to netty would they share anything?
Both webapps are separated because we do not use sharedlibs and so, but i don't know wether netty has some rare behaviour.
We have integrated pushy 0.3 (and 0.4 in a new version of our lib) for a pilot.
Our lib creates a singleton manager that dispatches messages to Pushy and other push libraries through queues, threads and executorservices.
So the manager has one instance of Pushy.
During development and in test scenarios Pushy works great, but we have adopted a complex scenario to run it and we are facing problems.
We are using our library inside 2 webapps running in Tomcat.
What we do is launching a listener on tomcat startup, so we run a servlet that instances our manager (each webapp is supposed to have its own instance of the singleton theoretically..)
Now comes the funny thing. At startup everything works fine, we can send notifications from each webapp...but after a while, stops arriving notifications from one of the webapps, then form the other...then stars again working both...randomly.
Just i want to understand if netty is shared among instances or something like that.
I know we can have scheduling issues and i'm checking all the code, but i'm pretty stuck as unit tests are working like a charm.
I will try to run just an instance an let see if it works better, but i would like to know what i asked before, in case you know the answer :) .
Thank you in advance and have a nice weekend.