Best practice of Lancedb in multi-thread environment #1316
Replies: 1 comment
-
I found this at lancedb-faq:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to use lancedb in my fastapi in which multiple requests are received to search the ANN results. There are three options to handle this:
Which one is the best practice? As for option 1 and 2, we need to make sure Lancedb is thread-safety. As for option 3, is it costly to init a connection?
Beta Was this translation helpful? Give feedback.
All reactions