Repository navigation
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() |
Answered by
buraksezer
Mar 17, 2023
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.