can embedded client be shared by multiple goroutines? #222
-
can the same embedded client be shared by multiple goroutines? or I have to create a new embedded client for each goroutine? e := db.NewEmbeddedClient() |
Beta Was this translation helpful? Give feedback.
Answered by
buraksezer
Mar 17, 2023
Replies: 1 comment
-
Hello @agufagit, both client implementations and DMap operations are thread-safe. An initialized client should be shared between goroutines. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
agufagit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @agufagit, both client implementations and DMap operations are thread-safe. An initialized client should be shared between goroutines.