sbarski / serverless-calculator

The calculator to work out pricing for serverless (function-as-a-service) technologies
MIT License
74 stars 13 forks source link

Add API Gateway costs #8

Open cristim opened 7 years ago

jasonpolites commented 7 years ago

There's a PR for this

https://github.com/sbarski/serverless-calculator/pull/15

sbarski commented 7 years ago

The PR is now merged. Thank you @jasonpolites.

I think it's a great start but we can add further features and enable users to model bandwidth costs, etc..

jasonpolites commented 7 years ago

Yeah for sure. Adding network costs would make sense.. but the holy grail is actually an accurate price/performance measure. Harder to be deterministic about (because there are lots of variables), but a pure cost analysis for compute only really makes sense if the performance is the same, does it scale up/down as fast, do you get more/fewer cold-starts, does latency increase with scale, does a 256MB function on Lambda run faster/slower than a 256MB function on Azure? Dunno, but it would be interesting to measure/track.