---
title: "Sai Kiran Kshatriya (@saikirankshatriya) | Hashnode"
description: "Sai Kiran Kshatriya (@saikirankshatriya) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@saikirankshatriya"
---

@saikirankshatriya

# Sai Kiran Kshatriya

@saikirankshatriya · Joined November 2026

## Comments

[Thank you Ahmet. That is a fair gap. The drop-and-recreate sweep only measures each configuration on a freshly built index, which is the best case. After enough inserts, deletes, splits and merges, the partition shape comes from the write history, and that can change both recall and latency. I'll add a churn phase. For each configuration, I'll keep the index after the clean-build sweep, run a recorded insert/delete workload, and repeat the same queries while the writes are running and again after things settle. I'll also recompute the exact top-K at each point, since the correct answers change after churn. I'd push back on a few parts, though. The churn profile can matter more than the partition setting. A churn benchmark is only as useful as how closely its write pattern matches production. Uniform deletes, oldest-first retention, one hot tenant, and new vectors far from the existing clusters can each rank the same configurations differently. Pick the wrong profile and you get a more detailed answer that is just as unrepresentative as the clean-build curve, and it looks more trustworthy. So I'd present Phase 2 as a check of how sensitive a configuration is to churn, not as the new source of truth application context that changes often, the numbers after churn should drive the choice. I'll update the post once I have results.](https://hashnode.com/posts/recall-vs-latency-tuning-cockroachdb-vector-indexes-in-production/6aece8989a7c5e5bd5e10792/comment/6aed93f8b623060bb5e924dc#reply-6af7e28ceb19d60a221dacdc)

Reply · Article · Nov 14 · [Recall vs Latency: Tuning CockroachDB Vector Indexes in Production](https://hashnode.com/posts/recall-vs-latency-tuning-cockroachdb-vector-indexes-in-production/6aece8989a7c5e5bd5e10792)

[Thank you for taking time and reading through the post. Fair point, with one nuance: the move itself can be atomic. CockroachDB is serializable, so a single UPDATE of a tenant's crdb\_region is all-or-nothing. The real gap is that my retrieval query trusts an application-supplied region. A cleaner design keeps tenant placement in a GLOBAL tenants table and resolves the region inside the query, so the rows and the pointer change in the same transaction. For tenants too big for one transaction, a migrating status would widen reads to both regions until cutover. A fixture that keeps retrieving during the move and checks completeness is a good addition. I'll cover this in a follow-up.](https://hashnode.com/posts/bringing-ai-context-closer-to-users-with-cockroachdb-table-localities/6aece9a441baeaa54dcb90a4/comment/6af72473950b3378746380c3)

Comment · Article · Nov 13 · [Bringing AI Context Closer to Users with CockroachDB Table Localities](https://hashnode.com/posts/bringing-ai-context-closer-to-users-with-cockroachdb-table-localities/6aece9a441baeaa54dcb90a4)
