2026-02-21✅ Research Complete

ZVEC + Proxima: Alibaba's In-Process Vector Database for Domain Intelligence

TL;DR: ZVEC and Proxima are Alibaba's open-source vector search technologies. Unlike client-server vector databases (Pinecone, Qdrant), ZVEC runs in-process — no server, no network latency. Sub-millisecond queries on billions of vectors. Free. Perfect for dom.to's 103M domains and AIM.in's intent-based matching.

What is ZVEC?

ZVEC is a lightweight, in-process vector database built on Proxima — Alibaba's battle-tested vector search engine powering Taobao search, Alipay face payments, Youku video search, and Alimama advertising.

ZVEC Architecture

Key Features

FeatureDescription
In-ProcessNo server, daemon, or infrastructure. Import and use.
Blazing FastSub-millisecond searches on billions of vectors
Dense + SparseBoth embedding vectors AND keyword/BM25 sparse vectors
Hybrid SearchCombine semantic similarity with structured filters
QuantizationINT8 quantization reduces memory by 4x with <1% recall loss
Cross-PlatformLinux x64/ARM64, macOS ARM64. Python 3.10-3.12, Node.js

Installation

# Python
pip install zvec

# Node.js
npm install @zvec/zvec

That's it. No Docker, no config files, no cloud setup.

What is Proxima?

Proxima is the underlying engine — a production-grade vector search system that has handledtrillions of queries at Alibaba.

Production Deployments

SystemScaleUse Case
Taobao SearchBillions of productsProduct similarity, recommendations
Alipay Face PayHundreds of millions of facesReal-time face matching
YoukuBillions of video framesVisual search, deduplication
Alimama AdsTrillions of ad-query pairsReal-time ad ranking

Benchmark Performance

Using VectorDBBench on standardized Cohere datasets:

DatasetQPSRecall@10Memory (INT8)
Cohere 10M (10M × 768d)~4,000+95%+~4GB
Cohere 1M (1M × 768d)~10,000+97%+~400MB

Application 1: dom.to Domain Intelligence

dom.to Integration

Current State

dom.to has:

  • 103M+ domains in PostgreSQL
  • 3M+ .in domains with detailed intelligence
  • 1.9M screenshots for visual analysis
  • 38M WHOIS records

What ZVEC Enables

1. Semantic Domain Search

# Before: Exact match or LIKE queries
SELECT * FROM domains WHERE name LIKE '%startup%';

# After: Semantic similarity
results = zvec_index.query(
    vector=embed("fintech startup"),
    topk=100,
    filter={"tld": "in", "available": True}
)
# Returns: paymentgateway.in, lending.in, neobank.co.in, ...

2. Multi-Vector Domain Profiles

# Each domain has multiple embeddings
schema = zvec.CollectionSchema(
    name="domains",
    vectors=[
        zvec.VectorSchema("name_embed", FP32, 768),      # Domain name
        zvec.VectorSchema("content_embed", FP32, 768),   # Page content
        zvec.VectorSchema("visual_embed", FP32, 512),    # Screenshot CLIP
        zvec.VectorSchema("category_sparse", SPARSE),    # Industry keywords
    ]
)

3. Hybrid Search with Filters

results = index.query(
    vectors={
        "name_embed": embed("ecommerce platform"),
        "category_sparse": sparse_encode(["marketplace", "B2B"])
    },
    filter={
        "tld": {"$in": ["in", "co.in", "com"]},
        "registrar": {"$ne": "GoDaddy"},
        "registered_date": {"$gt": "2024-01-01"}
    },
    topk=100
)

Application 2: AIM.in Intent-Based Matching

AIM Matching

The Vision

Traditional B2B marketplaces show listings. Buyers browse, filter, compare.

AIM.in vision: Intent-based matching. Buyer describes what they need → AI matches to best suppliers with explanations.

# Buyer query
query = "Need 500mm RCC pipes, 100 units, delivery to Madhapur"

# Vector search with geo-filter
results = supplier_index.query(
    vector=embed(query),
    filter={
        "delivery_zones": {"$contains": "Telangana"},
        "product_categories": {"$contains": "RCC pipes"},
        "min_order_qty": {"$lte": 100}
    },
    topk=10
)

# Result with explanation:
# ✅ Vijaya RCC (94% match)
# - Product: RCC pipes 500mm available ✓
# - Location: 12km from Madhapur ✓
# - Capacity: Can deliver 100 units in 3 days ✓

Why ZVEC Over Alternatives?

vs. Pinecone/Qdrant/Weaviate

FactorZVECCloud Vector DBs
Latency<1ms (in-process)10-100ms (network)
CostFree (self-hosted)$70-700/mo at scale
PrivacyData stays localData leaves your infra
ScaleBillions (single node)Millions (free tier)

vs. pgvector

FactorZVECpgvector
Performance10-100x faster at scaleDegrades with data size
Hybrid SearchNative dense + sparseRequires workarounds
QuantizationINT8 built-inLimited

Implementation Roadmap

PhaseScopeTimeline
Phase 1Index 3M .in domains with name embeddingsWeek 1
Phase 2Add screenshot embeddings (1.9M images)Week 2-3
Phase 3Hybrid search with WHOIS filtersWeek 4
Phase 4Scale to full 103M corpusWeek 5-6

Memory Estimate

103M domains × 768 dims × 4 bytes = ~316GB (FP32)
With INT8 quantization: ~79GB
With disk-based index: Fits on standard VPS

Conclusion

ZVEC + Proxima gives us:

  1. dom.to: Semantic domain search across 103M domains at sub-millisecond latency
  2. AIM.in: Intent-based supplier matching with explainable AI
  3. Cost: Zero (vs. $200-500/mo for cloud vector DBs at our scale)
  4. Control: Data stays on our infrastructure

Recommended next step: Pilot on dom.to with 3M .in domains. 2-week timeline. Measure latency improvement over current PostgreSQL approach.

References

Research by OpenGarage • Published 2026-02-21 • Get in touch to discuss implementation