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

[PERFORMANCE] Very slow response times for "/api/rest/Route" when having high uptime #31

Open
fleischsalatinspace opened this issue Dec 10, 2021 · 3 comments
Labels
bug Something isn't working performance

Comments

@fleischsalatinspace
Copy link
Collaborator

fleischsalatinspace commented Dec 10, 2021

Version: master @ v2.1.4
Setup: prod

Description

There are several reports of performance issues with route calculation and i can confirm this issue on several of my instances including the public one with different user tiers. The first POST to /api/rest/Route on a populated map with 20 users did peak with 19 seconds. Following POSTs were short with 1 sec to 5 sec on same or different systems. After checking monitoring and logs, the only parameters affecting the timing of the POSTs looks to be:
uptime of Pathfinder
Number of systems on map
(maybe number of routes per system?)
(maybe configured [PATHFINDER.ROUTE] parameters, we both run default values of pathfinder-containers)

There are no logs related to the issue and no logs in esi*.log

Not sure if this is a Pathfinder issue or an issue resulting from pathfinder-containers default configuration

Workaround/Fix

Restart Pathfinder. Clearing Redis cache does not resolve the issue

@fleischsalatinspace fleischsalatinspace added bug Something isn't working performance labels Jan 6, 2022
@samoneilll
Copy link
Contributor

@fleischsalatinspace still experiencing this one?

@fleischsalatinspace
Copy link
Collaborator Author

I assume the issue is still there but since creating this issue i have configured an automatic restart of the containers every 24 hours as a workaround 🤷

@samoneilll
Copy link
Contributor

Did you do that in the compose file, or outside the project using cron etc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance
Projects
None yet
Development

No branches or pull requests

2 participants