luomus / lintuasemasovellus

Helsingin Yliopiston Ohjelmistotuotantoprojekti syksy 2020 & kevät 2021.
MIT License
0 stars 2 forks source link

Set up test version on Rahti 2 #76

Open mikkohei13 opened 1 week ago

wkmor1 commented 1 week ago

How many/much resources (cpu's and mem) will this need? Might need to put in a quota increase request with CSC

aorin commented 1 week ago

The Rahti 1 doesn't seem to show how much resources it's using currently but I would think it doesn't require much

wkmor1 commented 1 week ago

Yeah Rahti 1 was useless for seeing how much resources was being used. It made the migration a nightmare.

On Rahti 2 we currently have a buffer of 5 CPU and 20gig of mem. We need to maintain a buffer of at least 3cpu and 14gig of mem so that all the scheduled cronjobs will run.

aorin commented 6 days ago

The app can be found here: https://lintuasema-dev.2.rahtiapp.fi/#/ It seems to use very little resources (500m cpu and 1Gi memory)

wkmor1 commented 6 days ago

I notice you haven't set limits. The .5 cpu and 1G mem are the default limits. Do you think it even needs that much? It's idle at the moment obviously, but currently it is only using .1 cpu and 100M of mem. Any sense of what it might need at peak?

aorin commented 5 days ago

I don't know how much it needs exactly, I guess we have to see how much it's using when the test users start using it but yeah the default limits seem unnecessary high. When I visited the site, the usage was about 30m cpu and 175Mi memory. I decreased the limits to 100m and and 500Mi for now