DEV Community

Engin EROL
Engin EROL

Posted on

hi everyone!

Hi everyone! πŸ‘‹

I’m excited to write my first post on this platform, and I’m very happy to be part of this amazing developer community. πŸš€


πŸš€ FAISS HNSW-based Vector Database for Node.js is Here!

I’ve been working on a high-performance FAISS-based vector database for Node.js, and I’m excited to finally share it with you all! πŸŽ‰

πŸ’‘ eada-cpu is optimized for FAISS HNSW (Hierarchical Navigable Small World) indexing, allowing efficient KNN searches directly in Node.jsβ€”without needing Python dependencies.


πŸ”₯ Benchmark Results

Metric Value
Vector Dimension 128
Number of Vectors 7,000,000+
KNN Search Time 4.05 ms πŸš€
Performance vs FAISS-Python 10% - 15% faster
Dataset Size ~5GB
Indexing Time 1 hour 36 minutes

πŸ’‘ Fully Optimized for CPU!

This benchmark was run entirely on CPU, making it ideal for standard servers without requiring GPU acceleration.

This enables LLM RAG applications, recommendation engines, and vector searches to run efficiently and cost-effectively in Node.js.


🎯 Key Features

βœ… FAISS HNSW support β†’ High-speed, accurate KNN search

βœ… Pure Node.js β†’ No Python dependencies required

βœ… Compatible with Windows / Linux / macOS (Intel & ARM64)

βœ… CMake-based build system for easy cross-platform support

βœ… N-API & Prebuilt support β†’ Install easily with:


bash
npm i eada-cpu


Enter fullscreen mode Exit fullscreen mode

Top comments (0)