Automattic / Automattic/wp-calypso
Marketplace search: investigate API performance
- Dominant language
- TypeScript
- Stars
- 12.6k
- Forks
- 2k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 552
Description
The current average response times for both searching and fetching categories are around 700ms. This seems to be slow compared to the WP.org API which we migrated from. We should investigate if we could improve the performance of the ES search API for these types of requests.
| | WP.org API | Search API
| --- | --- | ---
| Search |  | 
| Categories |  | 
We could establish some averages on the response time from the seedbox using [this approach](https://stackoverflow.com/a/22625150/13466052).
Contributor guide
Research direction
Start by establishing response-time averages on the seedbox using the linked Stack Overflow approach, then trace the Elasticsearch search API requests for marketplace search and category fetching. Done means identifying the source of the roughly 700ms responses and validating a measurable improvement against the WP.org API comparison.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch, typescript
- Domain
- api, performance, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100