-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify: Is a minio Client thread-safe? #598
Comments
You are expected to hold locks in your application and share the same minio client object. @mcandre |
In other words, minio-client object is thread safe. |
@harshavardhana says "you are expected to hold locks" translation: NOT threadsafe. Super confusing contradictory answers. Please clarify:
If this is documented somewhere, I cannot find it. |
Sorry for the confusion!
Locking is not needed to use a client object safely from multiple threads
No. You can use the same client object for concurrent requests. |
@krishnasrinivas thank you for the clarification :) It might be good to mention this in the docs too. |
Are minio client objects thread-safe? Or are users perhaps encouraged to create one client instance per goroutine?
The text was updated successfully, but these errors were encountered: