We have changed the code to connect to APNs, it's now leveraging a truly async library, based on Netty 4.1.9. This, currently, is performing much better. However, we do have a different hornet problem, causing us a bug on metrics handing/tracking. https://github.com/aerogear/aerogear-unifiedpush-server/blob/1.1.x-dev/push/sender/src/main/java/org/jboss/aerogear/unifiedpush/message/jms/AbstractJMSMessageConsumer.java#L66 When we replace the receiveNoWait() with receive(250), all Push/Metric jobs are processed correctly. If I keep the receiveNoWait() parts of a larger job are not correctly processed. This leads to false statistics, however, the actual push goes out I fear/guess this is new, do to the non blocking execution on the Apple push side of the house. |