Annoy (Approximate Nearest Neighbors Oh Yeah) is a C++ library with Python bindings to search for points in space that are close to a given query point. It also creates large read-only file-based data structures that are mmapped into memory so that many processes may share the same data. There are some other libraries to do nearest neighbor search. Annoy is almost as fast as the fastest libraries, (see below), but there is actually another feature that really sets Annoy apart: it has the ability to use static files as indexes. In particular, this means you can share index across processes. Annoy also decouples creating indexes from loading them, so you can pass around indexes as files and map them into memory quickly. Another nice thing of Annoy is that it tries to minimize memory footprint so the indexes are quite small.

Features

  • If you want to find nearest neighbors and you have many CPU's, you only need to build the index once
  • You can also pass around and distribute static files to use in production environment
  • Any process will be able to load (mmap) the index into memory and will be able to do lookups immediately
  • After running matrix factorization algorithms, every user/item can be represented as a vector in f-dimensional space
  • Build index on disk to enable indexing big datasets that won't fit into memory
  • Lets you share memory between multiple processes

Project Samples

Project Activity

See All Activity >

Categories

Storage

License

Apache License V2.0

Follow Annoy

Annoy Web Site

You Might Also Like
Achieve perfect load balancing with a flexible Open Source Load Balancer Icon
Achieve perfect load balancing with a flexible Open Source Load Balancer

Take advantage of Open Source Load Balancer to elevate your business security and IT infrastructure with a custom ADC Solution.

Boost application security and continuity with SKUDONET ADC, our Open Source Load Balancer, that maximizes IT infrastructure flexibility. Additionally, save up to $470 K per incident with AI and SKUDONET solutions, further enhancing your organization’s risk management and cost-efficiency strategies.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Annoy!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C++

Related Categories

C++ Storage Software

Registered

2021-06-30