-
In my project, an instance of apns client will be created for each application. The following 2 ways to create apnsclient, which method is better and more reasonable
|
Beta Was this translation helpful? Give feedback.
Answered by
jchambers
Jul 18, 2022
Replies: 1 comment 1 reply
-
If you have multiple clients, I recommend sharing an event loop group between them. EDIT: Although it doesn't address this question directly, you may also find the "best practices" wiki page (and especially the section on threads, concurrent connections, and performance) helpful for understanding how event loop groups fit in to the picture. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
thend03
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you have multiple clients, I recommend sharing an event loop group between them.
EDIT: Although it doesn't address this question directly, you may also find the "best practices" wiki page (and especially the section on threads, concurrent connections, and performance) helpful for understanding how event loop groups fit in to the picture.