Should each Async::Task
have it's own Async::DNS::Resolver
object or can they be shared between tasks?
#27
Unanswered
postmodern
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm curious whether it's a best practice to initialize a separate
Async::DNS::Resolver
per-Async::Task
or whether a single instance can be shared between multiple Async tasks without causing any blocking or resource contention? The answer to this question will influence the architecture of my Async queue and worker classes.Beta Was this translation helpful? Give feedback.
All reactions