In /tahrir/tahrir/endpoints/badges.py in the tahrir repo, the endpoint that fetches badges through a query string is unoptimized, and there's a request to do so. Current bottleneck:
- Unoptimized pagination flow which would cause a delay in cases of large dataset
The affected endpoint in tahrir: GET /api/badges/search/<search_string>
In /tahrir/tahrir/endpoints/users.py in the tahrir repo, the endpoint that fetches users through a query string is unoptimized, and there's a request to do so. Current bottleneck:
- Unoptimized pagination flow which would cause a delay in cases of large dataset
The affected endpoint in tahrir: GET /api/users/search/<search_string>
The optimization should be done in tahrir-api, then after optimization the tahrir endpoints should also be refactored to follow up with the tahrir-api optimization
In
/tahrir/tahrir/endpoints/badges.pyin the tahrir repo, the endpoint that fetches badges through a query string is unoptimized, and there's a request to do so. Current bottleneck:The affected endpoint in tahrir:
GET /api/badges/search/<search_string>In
/tahrir/tahrir/endpoints/users.pyin the tahrir repo, the endpoint that fetches users through a query string is unoptimized, and there's a request to do so. Current bottleneck:The affected endpoint in tahrir:
GET /api/users/search/<search_string>The optimization should be done in tahrir-api, then after optimization the tahrir endpoints should also be refactored to follow up with the tahrir-api optimization