I use MilvUS version 2.3, it takes 6-10s to store a piece of data, and it takes about the same time to store batch data, but we have the need for a single new interface. We have a self-developed faq background, when users add their own data, they feel very slow, I would like to ask what method to optimize it, mainly to establish a collection and insert data is relatively slow, but also in the creation of a collection after loading is slow, I can not retrieve the relevant information on the Internet, please help look at it, thank you. #30422
zhangnn520
started this conversation in
Announcement
Replies: 4 comments 4 replies
-
那一部分是milvus的插入耗时呢? 你可以部署一个监控看一下milvus的耗时情况。正常情况下肯定用不了几秒 |
Beta Was this translation helpful? Give feedback.
2 replies
-
我现在插入一条数据大概400ms左右,之前是3-6秒
---- 回复的原邮件 ----
发件人 ***@***.***> 日期 2024年02月01日 13:34 收件人 ***@***.***> 抄送至 ***@***.***>***@***.***> 主题 Re: [milvus-io/milvus] I use MilvUS version 2.3, it takes 6-10s to store a piece of data, and it takes about the same time to store batch data, but we have the need for a single new interface. We have a self-developed faq background, when users add their own data, they feel very slow, I would like to ask what method to optimize it, mainly to establish a collection and insert data is relatively slow, but also in the creation of a collection after loading is slow, I can not retrieve the relevant information on the Internet, please help look at it, thank you. (Discussion #30422)
建议你部署一下监控,看一下服务端耗时。
然后ping一下server,看一下网络的耗时。
如果是几秒插入一条数据,很大概率不是server的耗时慢
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
是的,我的服务放置在不同服务器,传输会耗费一些时间。大佬,我还有个问题。上述插入一条数据时间是建立在集合和索引已经建好情况下,但是重新建立集合和索引所需时间就非常慢。
---- 回复的原邮件 ----
发件人 ***@***.***> 日期 2024年02月01日 23:33 收件人 ***@***.***> 抄送至 ***@***.***>***@***.***> 主题 Re: [milvus-io/milvus] I use MilvUS version 2.3, it takes 6-10s to store a piece of data, and it takes about the same time to store batch data, but we have the need for a single new interface. We have a self-developed faq background, when users add their own data, they feel very slow, I would like to ask what method to optimize it, mainly to establish a collection and insert data is relatively slow, but also in the creation of a collection after loading is slow, I can not retrieve the relevant information on the Internet, please help look at it, thank you. (Discussion #30422)
400ms的话,可能的因素就是网络延迟和消息队列的延迟。
通常我们自己测试到的值应该会比这个短的多
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
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 use MilvUS version 2.3, it takes 6-10s to store a piece of data, and it takes about the same time to store batch data, but we have the need for a single new interface. We have a self-developed faq background, when users add their own data, they feel very slow, I would like to ask what method to optimize it, mainly to establish a collection and insert data is relatively slow, but also in the creation of a collection after loading is slow, I can not retrieve the relevant information on the Internet, please help look at it, thank you.
Beta Was this translation helpful? Give feedback.
All reactions