-
Notifications
You must be signed in to change notification settings - Fork 18
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
[Search] Eliminate extra queries for search request #459
Comments
The issue was exported from the internal JIRA. The link to the original JIRA issue: https://jira.corp.magento.com/browse/SFAPP-174 |
Hi @magento-engcom-team. Thank you for your report. Please, add a comment to assign the issue:
|
@magento I am working on this |
@mslabko to optimize multiple attribute calls in magento monolith call is made to CompositeFieldProvider implementation of FieldProviderInterface that fetches all field configurations. I will implement this in search storefront but should we contact it directly or through catalog storefront. |
@mslabko the current implementation of FieldProviderInterface doesn't implement get all fields, when I inspected the magento-ce FieldProviderInterface implementation has dependency on module-eav. Should I wait until there is a GRPC service in catalog-storefront for attributes or include module-eav |
@mslabko any suggestions on this? |
The current request time to SearchSerivce is too big (~300ms)
Need to optimize search request by removing/caching extra queries and
Repo: https://github.com/magento/storefront-search-ce
Service method: \Magento\SearchStorefront\Model\SearchService::searchProducts
With cached configuration we can expect only 3 requests to DB
All of them may be cached/optimized
Places to check:
To check SQL queries and trace to them we can enable db log in app/etc/env.php:
To test search without gRPC request:
The text was updated successfully, but these errors were encountered: