I’m working on a dashboard that’s been growing and it’ll keep growing. For the dashboard I perform some calculations that are sometimes computation-intensive. My app is deployed on Heroku, which gives 500MB RAM and it’s not enough right now. So I’m thinking there must be a way to perform my calculations in another service (AWS Lambda?) and make my app connect to an API, reducing the use of RAM inside the app.
I’m not sure if this is the place to ask, so please refer me to a better place if I’m wrong here. Is there are recommended way to do this? I don’t come from a software engineering background, so this is all pretty new ground to me, any help would be appreciated, thanks !