|
|
|
|
|
by irfn
1121 days ago
|
|
Not sure what you run this on and why its $50/day but sounds like a lot. Convert your server cost to a pay as you go model. You are currently paying even for time when your server is idle.
Containerise your app and run on something like AWS Lambda which has a pay for what you use model. - s3 is cheap for storing your model data and as long as you are just reading that should be fine. - AWS Lambda has 1 million free invocations per month in free tier. - Post that you pay $0.60 per 1 million requests - AWS stack is just an example, you can easily use GCP Cloud run or any other equivalent service. |
|
Can you cache some of the interactions and serve the cached version for the most common ones?