Qdrant Docker Consuming Full Memory
Last active 3 months ago
24 replies
11 views
- SH
Qdrant Docker Consuming Full Memory
- SH
Hi guys,
Could you guys please help me out?
Scenario: Currently I have 100M of vectors of images. It will increase day by day. We have build a similarity search engine. We have tried with Qdrant Vector Search Engine.
Graviton Instance of AWS: 4 CPUs 32G MEMORY.
Difficulties: When I am initializing qdrant docker it is consuming all of the memory. At a certain point it comes out from the excution. Ia there any way to handle it?Is there any trick with config file or collection creation config.
docker pull qdrant/qdrant docker run -it --memory="26g" --memory-swap="200g" --memory-reservation="22g" -p 6333:6333 -v $(pwd)/../qdrant/data:/qdrant/storage \ -v $(pwd)/data/static/qdrant_config.yaml:/qdrant/config/production.yaml \ qdrant/qdrant:latest.
- AN
Hi @Shaibal , I assume you have something like 512d vectors. With this amount of data you would need to keep almost all vectors on disk, which will make search quite slow. I would recommend to run the cluster of several machines for this amount of vectors
- SH
Yes its 648d vectors.
- SH
How should I build my architecture then? Could you please brief a little bit?
- SH
Are you talking about distributed system?
- AN
yes
- AN
the easiest - to use our cloud. We provide multi-machine configuration out of the box
- AN
https://cloud.qdrant.io/
- SH
Could you please elaborate it a little? I will discuss with my team.
- SH
Could you please let me the know the cost?
- AN
depends on your latency requirements.
- SH
How much cost it will take consider our vectors will increase day by day.
- SH
Lets consider 100M vectors of 648d.
- SH
Could you please give an idea?
- AN
how fast do you want the search to be? It terms of RPS or ms per request?
- SH
I need 15-20RPS.
- AN
something like this should work
- SH
Ou great! Can I have access of your costing calculator?
- AN
yes, here https://cloud.qdrant.io/
- SH
Is it available on your qdrant.tech site?
- AN
you would need to register
- SH
Ou I see.
- SH
Thank you @andrey.vasnetsov. It's a nice discussion.
Last active 3 months ago
24 replies
11 views