Thread safe discussion #3062
Closed
primabrucexu
started this conversation in
General
Replies: 1 comment 1 reply
-
Hey @primabrucexu , could you go over #3021 and let me know if you still need some clarifications? TL;DR; A simple (yet wasteful) solution to that is to use a connection pool and have thread-by-connection association. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys, I am a freshman to Lettuce and Netty.
I see this from the README
I want to know why these operations aren't thread-safe.
Here's my guess: command stack used in CommanhHanler is not a thread safe collection.
According to that, can we change it to a thread safe collection (e.g LinkedBlockingDeque) to make it thread safe?
Beta Was this translation helpful? Give feedback.
All reactions