developmentseed / eoapi-risk

An implementation of eoAPI for Risk data and the Humanitarian sector
MIT License
2 stars 0 forks source link

Adjust and tune container resource requirements #34

Closed batpad closed 9 months ago

batpad commented 10 months ago

Fetching data from the eoAPI instance is currently quite slow: https://eoapi.ifrc-risk.k8s.labs.ds.io/

This is mostly because we have been extremely conservative with resource allocations, both for the database as well as the application containers: https://github.com/developmentseed/eoapi-risk/blob/main/deploy/helm/eoapi/values.yaml#L8

For the time of the demo, we should definitely bump up resources, and we should test bumping up and its effects on performance before the demo.

Tasks:

We really just need this to perform at acceptable speed for the demo - I ideally don't want to get into either extensive db tuning or setting up caching layers - we know we can do all that in an actual production environment if we need to.

cc for visibility: @sunu @Rub21

batpad commented 9 months ago

We scaled up and scaled down resources for the demo.