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

Question: What do you think about performance? #53

Open
fredrikmoger opened this issue Apr 22, 2024 · 1 comment
Open

Question: What do you think about performance? #53

fredrikmoger opened this issue Apr 22, 2024 · 1 comment
Labels
question Further information is requested

Comments

@fredrikmoger
Copy link

Now it takes ... (45-60 sec) to run the ChatGPT text to map. What do you think about the performance?

@fredrikmoger fredrikmoger added the question Further information is requested label Apr 22, 2024
@Eiriksb
Copy link
Contributor

Eiriksb commented Apr 26, 2024

Big queries like "Which countries took part in WW2?", "All States in the USA" And queries with a lot of boundaries to load are currently quite bottlenecked by the fact that we have not set up Workers with Heruko. But compared to before the Json Update for the Assistant It takes significantly less time to get a response back (If it goes through as Heruko has a limit of 30 seconds of waiting before it closes the process) Small queries can take as little time as a few seconds now.

Potential fixes

  • Implement workers to use in the Heroku Dyno
  • Change Hosting provider to someone with a beefier server. (AWS, Google Clour Run even fly.io)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants