5 ms·
Care to share more about your small startup?
by htunnicliff 5y ago
Care to share more about your small startup?
- throwaway2016a 5y agoWell, I'd love to share specifics but I've kept "throwaway2016a" anonymous for 6 years so gonna keep it that way :). But some general info: - API based product - Frontend using Next.js hosted on S3 behind CloudFront with some CloudFront Edge functions - Gets a few hundred thousand API calls a month - I wrote my non-edge Lambdas in Go. I found it to be much faster cold start times (about 100ms for me) and much faster runtime (< 10ms) than Node. The Edge functions are Node though because Edge on AWS only supports the Node.js runtime. - I use DynamoDB for my database. You get billed for what you use on Lambda and on average a single API call bills me for 8 - 12ms each. Plus the cost of API gateway. Actual response time is higher since SSL negotiation and API Gateway adds overhead but it's usually < 80 - 100ms which is within my SLA. But could scale up to a few million API calls a month without much added cost... about 20 - 30 million API calls per month before I hit the cost of the (minimum) 3 servers + load balancer I would need to do High Availability using servers.