Consistency Level in the Milvus Vector Database

Have you ever wondered why sometimes the data you have deleted from the Milvus vector database still appear in the search results? A very likely reason is that you have not set the appropriate consistency level for your application. Consistency level in a distributed vector database is critical as it determines at which point a … Read more

Java Bytecode Simplified: Part 2

Our previous article introduced bytecode and discussed what it includes. This article will delve a bit deeper into ConstantPool. Highlights Bytecode is a representation that is abstract in nature. They are fictitious codes for a fictitious machine known as the Java virtual machine. The Java virtual machine is a piece of software that interprets bytecode. … Read more

Database Read Throughput with In-Memory Replicas

With its official release, Milvus 2.1 comes with many new features such as in-memory replicas, support for string data type, embedded Milvus, tunable consistency, user authentication, and encryption in transit to provide convenience and a better user experience. Though the concept of the in-memory replica is nothing new to the world of distributed databases, it … Read more

String Data to Empower Your Similarity Search App

Milvus 2.1 comes with some significant updates, which make working with Milvus a lot easier. One of them is the support of string data type. Right now, Milvus supports data types including strings, vectors, Boolean, integers, floating-point numbers, and more. This article presents an introduction to the support of string data type. Read and learn … Read more

Improving Performance in a Hierarchical SQL Structure

This article will show how column propagation can represent a straightforward approach to improving query performance when dealing with a hierarchical data structure. We’ll do this with a real-world scenario based on a data-driven project involving a live data website developed for a startup operating in the sports industry. You’ll learn everything you need to … Read more

How to Build a Treemap Using JavaScript

Treemap visualizations are widely used in hierarchical data analysis. If you need to build one but have never done that before, you might think the process is somewhat complicated. Well, not necessarily. I decided to make a step-by-step tutorial explaining how to create awesome interactive treemap charts with ease using JavaScript. And you’re gonna love … Read more

What Powers Similarity Search in Milvus Vector Database

As the core vector execution engine, Knowhere to Milvus is what an engine is to a sports car. This post introduces what Knowhere is, how it is different from Faiss, and how the code of Knowhere is structured. Narrowly speaking, Knowhere is an operation interface for accessing services in the upper layers of the system … Read more

Hashtable, HashMap, ConcurrentHashMap: Performance – DZone Java

There are a good number of articles that articulate functional differences between HashMap, Hashtableand ConcurrentHashMap. This post compares the performance behavior of these data structures through practical examples. If you don’t have the patience to read the entire post, here is the bottom line: when you areed with the decision of whether to use HashMap, … Read more

How to Leverage Method Chaining To Add Smart Message Routing in Java

We are going to use the open-source serialization library Chronicle Wire. Let’s assume we have some data that we want to send to a particular destination; we don’t want to pollute our business data structures with the routing information. In the future, the routing information could be removed or changed based on external factors such … Read more

Accelerating Similarity Search on Really Big Data with Vector Indexing (Part II)

Many popular artificial intelligence (AI) applications are powered by vector databases, from computer vision to new drug discovery. Indexing, a process of organizing data that drastically accelerates big data search, enables us to efficiently query million, billion, or even trillion-scale vector datasets. This article is supplementary to the previous blog, “Accelerating Similarity Search on Really … Read more