Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pregenerate requests before serving #4

Merged
merged 1 commit into from
Jan 21, 2021

Conversation

khorshuheng
Copy link
Collaborator

Signed-off-by: khorshuheng solemnpriest@gmail.com

Generates the online requests before serving. This serves two purposes:

  1. The process of generating random requests does not affect the serving latency.
  2. The hash map for the value pool is not thread safe. Hence under high concurrency, there are some race condition that leads to non unique entity row.

Signed-off-by: khorshuheng <solemnpriest@gmail.com>
@khorshuheng khorshuheng merged commit 8e61716 into feast-dev:master Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant