Illustration of an eKYC facial deduplication workflow from the approved Mcredit standalone case-study reference.

CUSTOMER STORY · VECTOR SEARCH BENCHMARK

Mcredit: Benchmarking MongoDB Atlas Vector Search for eKYC deduplication.

MongoDB Atlas · Vector search · eKYC

AT A GLANCE

The project at a glance.

Mcredit needed to evaluate whether vector search could support 1:N face deduplication for an eKYC workflow. A customer-developed model converts a face image into a 1024-dimensional vector, which must be compared with the existing vector repository to detect a potential duplicate.

The POC separated database and search resources and used two test environments: a 10-million-vector workload for latency, throughput, stability and index behavior, and a 1-million-vector workload for recall, dimensionality and quantization tests.

POC validation

  • Measured HNSW query behavior against exact nearest-neighbor search under controlled test parameters.
  • Ran sustained-load testing and monitored latency, errors and search-process memory behavior.
  • Compared float32 and scalar quantization to quantify memory savings against retrieval-quality loss.

Interpretation boundaries

  • Most benchmark data was synthetic and describes the POC environment, not Mcredit production volume.
  • Recall measures HNSW fidelity to exact search, not facial-recognition accuracy.
  • The full-index rebuild missed its estimated 15-minute target and remains an explicit operating consideration.

ABOUT MCREDIT

Identity deduplication makes vector-search quality a decision boundary, not a convenience feature.

In the evaluated eKYC flow, Mcredit’s embedding model produces a face vector that is searched against the existing repository to identify a possible duplicate identity or fraud case.

Because the vector result can directly influence the deduplication decision, the POC emphasized retrieval fidelity, stable latency and predictable memory behavior rather than optimizing storage at any cost.

01

1:N matching

Search a new face vector against an existing identity repository.

02

Dedicated search tier

Isolate HNSW indexing and queries from database writes.

03

Technical recall

Compare approximate results with exact nearest-neighbor ground truth.

04

Sizing evidence

Relate vector format and index size to search-node memory.

TITANBASES ENGAGEMENT · CONTROLLED POC

TitanBases evaluated MongoDB Atlas Vector Search under controlled benchmark conditions and documented both successful criteria and the rebuild-time exception. The customer’s embedding model and business-level recognition accuracy were outside the database POC.

THE CHALLENGE

Latency · Throughput · Stability · Retrieval fidelity

Fast vector search is useful only when approximation remains acceptable for the decision.

The POC target combined P95 latency below 10 ms with at least 100 requests per second, sustained stability and high retrieval fidelity at large vector scale.

The team also needed to understand whether scalar quantization could reduce memory without unacceptable result reordering, and whether full index rebuild behavior aligned with operational expectations.

POC DATA BOUNDARY

The dataset was primarily synthetic. System latency, throughput and technical recall are valid benchmark observations for the tested configuration, but they do not establish production data volume or real-world facial-recognition accuracy.

BENCHMARK · TESTED CONFIGURATION

Large-scale approximate search, measured against exact retrieval.

Dedicated search resources allowed query and indexing behavior to be measured independently from the database workload.

1,255QPS at P95 9.85 ms in the 10M-vector test
20h 16mSoak test with more than 98 million requests
~99%Recall@10 versus exact search in tested configurations

These are POC benchmark measurements from the published technical case, not facial-recognition accuracy, production SLA or production-volume claims.

THE SOLUTION

Replica set · Dedicated search nodes · HNSW · Float32

Separate the database path from vector indexing and retrieval.

Application drivers connect to MongoDB database nodes. Vector queries are forwarded to dedicated search nodes, where HNSW indexes are maintained and queried without placing the same CPU and memory pressure on the write path.

Index updates are synchronized asynchronously through change streams. The POC compared HNSW with exact search, varied numCandidates and vector dimensions, and tested float32 against scalar quantization before recommending production sizing.

SOLUTION ARCHITECTURE

POC Architecture · MongoDB Atlas Vector Search

EVIDENCE-BOUNDED TECHNICAL VIEW · DATABASE AND SEARCH TIERS

Separated data and vector-search resources

Mcredit POC architecture with eKYC embeddings, MongoDB replica-set nodes, dedicated HNSW search nodes and asynchronous index updates.
Editorial architecture view derived from the supplied POC report. It omits customer data and commercial details while preserving the tested query and indexing boundaries.
01 · APPLICATION

Customer-developed embeddings and 1:N query orchestration.

02 · DATA

MongoDB replica-set nodes store identifiers and image references.

03 · SEARCH

Dedicated HNSW search nodes hold full index replicas in memory.

04 · VALIDATION

Exact-search comparison, load testing and quantization analysis.

POC RESULTS · QUALIFIED

Performance and retrieval fidelity passed; rebuild time remained open.

The benchmark exceeded the latency and throughput target and remained stable during soak testing. It also identified a material quantization trade-off and one missed rebuild-time estimate.

QUERY PERFORMANCE

9.85 ms

P95 at 1,255 QPS in the 10M-vector test

STABILITY

0 errors

Observed during the 20h 16m soak run

RETRIEVAL FIDELITY

99.37%

Recall@10 for 1M float32 vectors at 1024 dimensions

OPEN CONSIDERATION

41 min

Full 10M-index rebuild versus a 15-minute estimate

Scalar quantization reduced index memory about 3.3x but Exact Match@10 fell from about 95% to about 41%. Float32 was retained for this decision-sensitive workload.

TECHNOLOGIES

The MongoDB Atlas components and benchmark methods used in the POC.

Production sizing depends on actual vector volume and the requirement that each search node hold a full index replica in memory.

DATABASE

MongoDB AtlasReplica setChange streamsMongoDB drivers

VECTOR SEARCH

MongoDB Atlas Vector SearchDedicated search nodesHNSWLucene-based vector index

TEST CONFIGURATION

float32 vectorsm=32efConstruction=256numCandidates 100 and 200

VALIDATION

Exact nearest neighborRecall@10Soak testingIndex rebuild testing

PRODUCTION READINESS

Size from real vector volume, then validate incremental indexing and business accuracy.

The next steps are to confirm production vector scale, test incremental indexing and evaluate the customer embedding model against labeled real-world images. Those checks are distinct from the database POC.

POC EVIDENCE · NOT A PRODUCTION SLA

Prepared by TitanBases Engineering Team

TitanBases engineers share practical guidance from cloud, data and AI delivery work, with technical review focused on production architecture, security and operations.

YOUR NEXT WORKLOAD

Build what’s next.
With TitanBases.

Talk to TitanBases engineering →