[BUG]: Poor performance when uploading small batches to Milvus in VDB Upload example #1667
Open
2 tasks done
Labels
bug
Something isn't working
Version
24.03
Which installation method(s) does this occur on?
Docker, Conda, Source
Describe the bug.
When using the Milvus service for writing to a vector database, the performance drops when using small batch sizes or infrequent writes. This is because the service wants to reindex the database after each message, or after a set time has elapsed (it is hard coded to 3 seconds). This is inefficient for a few reasons:
Ideally, we would use something similar to a debounce to update the index. So reindexing only occurs after some set time where no messages have been added.
Minimum reproducible example
Relevant log output
Click here to see error details
Full env printout
Click here to see environment details
Other/Misc.
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: