GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Mlops architecture to reconcile feast and vector search in the serving layer · Issue #3965 · feast-dev/feast

Mlops architecture to reconcile feast and vector search in the serving layer #3965

New issue
Copy link
New issue
Copy link
Closed
Closed
Mlops architecture to reconcile feast and vector search in the serving layer#3965
Copy link
Assignees
franciscojavierarceohaoxu0
Labels
kind/questionFurther information is requestedFurther information is requestedpriority/p2wontfixThis will not be worked onThis will not be worked on

Description

@boumelhaa
boumelhaa
opened on Feb 22, 2024
Issue body actions

This is not an issue. We are currently working on developing a scalable architecture for our ranking system using Feast. As a backend, we are utilizing GCP for the offline store and Redis for the online store in AWS, which is in close proximity to our serving environment.

Feast effectively abstracts the feature vectors for classical models or batch inference. However, the complexity arises when we integrate embeddings into our recommendation system.

While Feast serves well for training the embeddings model and encoding the embeddings in offline batches, the challenge lies in serving these embeddings. My question pertains to how a vector search solution fits into our architecture. Where should the embeddings reside, and do we need to register them initially?

In essence, considering our two-tower ranking model where the first tower's embeddings are encoded offline and the second tower's embeddings are encoded upon request, followed by a search against the pre-encoded embeddings, how can we structure this using Feast?

Reacted by Francisco Javier Arceo

Activity

  1. boumelhaa
    added
    kind/bug
    priority/p2
    on Feb 22, 2024
  2. jeremyary
    added
    kind/questionFurther information is requestedFurther information is requested
    and removed
    kind/bug
    on Feb 28, 2024
  3. haoxu0 commented on Mar 5, 2024

    @haoxu0
    haoxu0
    on Mar 5, 2024
    Collaborator
    More actions

    This is a feature we are planning to add to feast. On a in-mature thought we can add an API that can both index and retrieve the embedding. probably can use Faiss as a stab. Will initiate a RFC for the work.

    Reacted by BOUMELHA Adam and Francisco Javier Arceo
  4. boumelhaa commented on Mar 17, 2024

    @boumelhaa
    boumelhaa
    on Mar 17, 2024
    Author
    More actions

    Yeah, Faiss seems like a promising candidate, although the in-memory aspect can pose scalability and re-indexing challenges.
    Integrating it with Elasticsearch would enhance its appeal, allowing for the registration of embeddings and direct materialization into ES or any other search API, offering an alternative to traditional online store technologies.

    Reacted by Francisco Javier Arceo
  5. haoxu0 commented on Mar 19, 2024

    @haoxu0
    haoxu0
    on Mar 19, 2024
    Collaborator
    More actions

    @boumelhaa for the online store with serach functionality, are you using the elasticsearch?

  6. tokoko commented on Mar 19, 2024

    @tokoko
    tokoko
    on Mar 19, 2024
    Collaborator
    More actions

    Don't really know much about the subject, but feels like people might want to use different technologies for normal feature lookup and vector search. Is it the right time to also start thinking about (better) supporting configuration of multiple online stores in the same feast project?

    Reacted by BOUMELHA Adam
  7. haoxu0 commented on Mar 26, 2024

    @haoxu0
    haoxu0
    on Mar 26, 2024
    Collaborator
    More actions

    Don't really know much about the subject, but feels like people might want to use different technologies for normal feature lookup and vector search. Is it the right time to also start thinking about (better) supporting configuration of multiple online stores in the same feast project?

    Not sure how that would help the search use case but yeah definitely a good feature to have.

  8. franciscojavierarceo commented on Apr 1, 2024

    @franciscojavierarceo
    franciscojavierarceo
    on Apr 1, 2024
    Member
    More actions

    This is a great topic and something I was actually quite excited about supporting. Glad to see @HaoXuAI already on it! 🚀

  9. franciscojavierarceo
    assigned
    franciscojavierarceo
    and
    haoxu0
    on Apr 2, 2024
  10. boumelhaa commented on Apr 4, 2024

    @boumelhaa
    boumelhaa
    on Apr 4, 2024
    Author
    More actions

    @boumelhaa for the online store with serach functionality, are you using the elasticsearch?

    I have employed Elasticsearch in an initiative aimed at optimizing vector search and experimenting with its Approximate Nearest Neighbors (ANN) functionality. Locally, it demonstrated superb speed in searching using cosine similarity. Additionally, ES can be readily managed by AWS (open search) and other cloud providers.

    From my perspective, if we opt for ES or any other search technologie, we'll need to abstract away all the tedious aspects of indexing the vectors and searching through them, as well as implementing methods to retrieve the k most similar vectors using multiple algorithms (brute force, ANN, etc.) just like how faiss does it.

    In the feature_store.yaml, I believe it would be prudent to distinguish it from both the offline and online stores, optionally adding it on top of them, as not all use cases will require search functionality

    Reacted by Francisco Javier Arceo
  11. franciscojavierarceo commented on Oct 29, 2024

    @franciscojavierarceo
    franciscojavierarceo
    on Oct 29, 2024
    Member
    More actions

    Just want to close this out, we ended up implementing ElastiSearch for the Feast VectorDB work. @boumelhaa did you see this?

  12. stale commented on Apr 26, 2025

    @stale
    staleBot
    on Apr 26, 2025 – with Stale
    More actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  13. stale
    added
    wontfixThis will not be worked onThis will not be worked on
    on Apr 26, 2025
  14. stale
    closed this as completedon May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @franciscojavierarceo
    franciscojavierarceo
  • @haoxu0
    haoxu0

Labels

kind/questionFurther information is requestedFurther information is requestedpriority/p2wontfixThis will not be worked onThis will not be worked on

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.