Git Product home page Git Product logo

Comments (5)

joein avatar joein commented on July 4, 2024

Hi @komi786 , the problem is probably about the fact that you're keeping your hnsw graph on disk and using not fast enough disks.
In general, we recommend to store hnsw graph on disk only as a last attempt to reduce memory footprint, when you are ready to give up on the speed.
I would recommend to remove on_disk option for hnsw graph, and either keep everything in memory, if you have enough resources, or enable on_disk option for vectors only, not for hnsw graph.

from qdrant-client.

joein avatar joein commented on July 4, 2024

Also, your client instantiation seems to be controversial, you provide url with http, however set https flag to true

If you want to speed up the upserting/querying, I would recommend to switch to grpc if possible.

from qdrant-client.

komi786 avatar komi786 commented on July 4, 2024

@joein i added https when i found discussion on time out error in an another issue here . just wanted to check if this makes any difference but no. you are right . Can you tell me what is the difference between on_disk_payload and on_disk options?

from qdrant-client.

komi786 avatar komi786 commented on July 4, 2024

I removed on_disk_payload as well as on_disk from HNSW config but time out issue still persists

from qdrant-client.

joein avatar joein commented on July 4, 2024

you don't need to remove on_disk_payload

could you send output of your collection info once again please?

what is the batch size you're using?

if it is large or you have long documents, it might be reasonable to reduce it

from qdrant-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.