Hi HN,<p>I need you.<p>I'd like to know what is the current state of the art regarding the use of serverless paradigm for API endpoints.<p>Context:
We currently use Google Cloud Functions for our API. Our startup is young, and just the 2 cofounders are working on it. Our product is a consumer iOS app. The backend is something we don't have a lot of time to dedicate yet.
~1k DAU
~5k Daily API calls,
Traffic spread between US, Europe, East Asia, Australia<p>Over a classic webserver deployed on Heroku/EC2,<p>Pros<p>- easy to deploy<p>- easy to maintain<p>- easy to setup<p>Cons<p>- cold starts are becoming really long (~4/6 seconds)<p>- we setup a pgbouncer to connect to Postgres instead of a simple Pooling client (and it will be more complicated for geo dns?)<p>What do you think?