Skip to content

Online serving optimizations - #1286

Merged
feast-ci-bot merged 9 commits into
feast-dev:masterfrom
pyalex:fix-serving-latency
Jan 28, 2021
Merged

Online serving optimizations#1286
feast-ci-bot merged 9 commits into
feast-dev:masterfrom
pyalex:fix-serving-latency

Conversation

@pyalex

@pyalex pyalex commented Jan 25, 2021

Copy link
Copy Markdown
Collaborator

Signed-off-by: Oleksii Moskalenko moskalenko.alexey@gmail.com

What this PR does / why we need it:

Some performance concerns about OnlineServingServiceV2 were addressed in this PR:

  1. Move specs retrieving out of nested for loops - prepare required data in advance.
  2. Less data copying / Less hash tables
  3. Rewritten CacheLoader for specs to minimise missing cache exceptions
  4. Simplify OnlineRetrieverV2 interface - get rid of Optional
  5. Add Ability to tune java options through helm chart values

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

NONE

Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
@pyalex
pyalex force-pushed the fix-serving-latency branch 2 times, most recently from 2430b88 to 5c65f4a Compare January 27, 2021 02:08
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Comment thread infra/charts/feast/charts/feast-serving/values.yaml Outdated
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
@pyalex

pyalex commented Jan 28, 2021

Copy link
Copy Markdown
Collaborator Author

/test test-end-to-end-gcp

1 similar comment
@pyalex

pyalex commented Jan 28, 2021

Copy link
Copy Markdown
Collaborator Author

/test test-end-to-end-gcp

@khorshuheng khorshuheng left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@feast-ci-bot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: khorshuheng, pyalex

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@feast-ci-bot
feast-ci-bot merged commit 3fabae0 into feast-dev:master Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants