May 2023 Summaries
3 posts from Qdrant
Filter
Month:
Year:
Post Summaries
Back to Blog
Qdrant has introduced Product Quantization as a new feature in version 1.2.0, following the earlier introduction of Scalar Quantization in version 1.1.0, to significantly reduce memory usage in vector search by converting floating-point numbers into integers. This method involves dividing vectors into subvectors, applying the K-means clustering algorithm to map these chunks to the closest centroids, and then storing only the centroid identifiers, thereby compressing the data and reducing memory requirements. Although Product Quantization can increase indexing and search times and reduce search precision, it offers substantial memory savings and can sometimes reduce search time, making it ideal for low-RAM environments or where disk reads are more limiting than vector comparisons. Benchmarks using datasets like Glove-100 and Arxiv-titles-384-angular-no-filters demonstrate the trade-offs between precision, search time, and memory compression at various cluster dimensions. Compared to Scalar Quantization, Product Quantization provides a higher compression rate but may sacrifice accuracy and search speed, making it preferable in specific scenarios such as high-dimensional data or when indexing speed is not critical.
May 30, 2023
981 words in the original blog post.
Qdrant 1.2 introduces several new features and improvements, focusing on performance and reliability in its vector database. The release includes the introduction of Product Quantization, which significantly reduces memory requirements, and optional named vectors, allowing for nullable vectors to enhance flexibility. Additionally, it features a new mechanism for grouping requests, enabling client-side operations to be handled server-side, and improved nested filtering capabilities for more complex data queries. The update also addresses reliability with a recovery mode to tackle memory constraints and appending capabilities for mmap storage. Security enhancements include API-key support for authentication and TLS support for encrypted connections. The Qdrant team encourages feedback from its community to continue shaping the platform's development.
May 24, 2023
1,151 words in the original blog post.
Qdrant, a high-performance cloud service, chose Rust as its programming language due to its memory safety, control, and efficiency without a garbage collector, contrasting the limitations found in other languages like C++, Java, Scala, and Python. Rust provides a low memory overhead, enabling Qdrant to maintain small Docker container sizes and achieve robust performance benchmarks. Despite Rust's complex type system and steeper initial learning curve compared to simpler languages like Go, it effectively reduces bugs early in development, leading to faster long-term development. The language's adoption by major tech companies such as Amazon, Google, and Microsoft further validates Qdrant's decision, supported by a friendly community and a growing pool of Rust developers. Rust has proven advantageous for Qdrant's needs, offering a reliable foundation that supports both innovation and stability.
May 11, 2023
975 words in the original blog post.