I coded an api Nodejs with python fecthing data and making some plots to pdf file. It' just simple api works with 100-200 datarow in pandas.
So It works fine in my local machine but when I push it to heroku(free tier) it gives h12 timeout error.How can I improve my api speed, is there a way to python build or npm built to make production version of the api. Thank you.