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

Deploy tile server as standalone service in RGD instance #3

Open
aashish24 opened this issue Apr 9, 2021 · 2 comments
Open

Deploy tile server as standalone service in RGD instance #3

aashish24 opened this issue Apr 9, 2021 · 2 comments

Comments

@aashish24
Copy link
Contributor

No description provided.

@banesullivan banesullivan self-assigned this Apr 9, 2021
@banesullivan
Copy link
Contributor

banesullivan commented Apr 9, 2021

On the Heroku deployment, we are seeing occasional request timeouts for tile serving. This is due to some images not being preformatted as COGs or requiring a little long to fetch from remote storage. The requests in the main instance of the app will time out after 30s. Often, we'll see the the initial fetch/tiling takes longer than 30s.

To mitigate this issue, we might benefit from setting up a new tile serving microservice.

Because of Heroku's limits on requests, this may need to be done through an EC2 instance.

This means we will have multiple heterogeneous HTTP servers: further complicating deployment. Honestly, I have no idea how we would route specific requests (e.g. all api/geoprocess/* endpoints) through to the separate server but it is possible?

Once we set this up, then we could also do this for the sumbsampling endpoints to step away for sending a POST request that runs a job then having the user hit a different GET endpoint to access the produced data.

@banesullivan banesullivan removed their assignment Apr 9, 2021
@banesullivan banesullivan transferred this issue from ResonantGeoData/ResonantGeoData Jun 11, 2021
@banesullivan
Copy link
Contributor

This is coming up again after ResonantGeoData/RGD-ScrumBoard#34

Requests are timing out after viewing one of the GRIB datasets

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

No branches or pull requests

2 participants