Build "For you" recommendations using AI on Fastly!

This page summarizes the projects mentioned and recommended in the original post on dev.to

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. edgeml-recommender

    POC: similarity search recommendation engine at the edge using only Fastly Compute & Rust

    Simple enough to transform that into two columns, an ID and a string:

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. instant-distance

    Fast approximate nearest neighbor searching in Rust, based on HNSW index

    Now we have 500 small datasets and an index that maps centroid points to the relevant dataset. Next, to enable real-time performance, we want to precompile search graphs so that we don't need to initialize and construct them at runtime, and can use as little CPU time as possible. A really fast nearest-neighbor algorithm is Hierarchical Navigable Small Worlds (HNSW), and it has a pure Rust implementation, which we're using to write our edge app. So we wrote a small standalone Rust app to construct the HNSW graph structs for each dataset, and then used bincode to export the memory of the instantiated struct into a binary blob.

  4. bincode

    A binary encoder / decoder implementation in Rust.

    Now we have 500 small datasets and an index that maps centroid points to the relevant dataset. Next, to enable real-time performance, we want to precompile search graphs so that we don't need to initialize and construct them at runtime, and can use as little CPU time as possible. A really fast nearest-neighbor algorithm is Hierarchical Navigable Small Worlds (HNSW), and it has a pure Rust implementation, which we're using to write our edge app. So we wrote a small standalone Rust app to construct the HNSW graph structs for each dataset, and then used bincode to export the memory of the instantiated struct into a binary blob.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Show HN: A fast HNSW implementation in Rust

    6 projects | news.ycombinator.com | 14 Mar 2024
  • Hierarchical Navigable Small Worlds

    2 projects | news.ycombinator.com | 10 Jul 2023
  • Building a Vector Database with Rust to Make Use of Vector Embeddings

    4 projects | /r/rust | 1 Jun 2023
  • Hey Rustaceans! Got a question? Ask here (14/2023)!

    4 projects | /r/rust | 3 Apr 2023
  • Convert a base-64 encoded, serialised, Rust struct to a Python class

    3 projects | /r/rust | 6 Mar 2023

Did you know that Rust is
the 5th most popular programming language
based on number of references?