Serverless Development with Serverless Framework
<i>&quot;With just a small yaml file, two functions and some shell commands, you suddenly have an API which autoscales automatically and you only pay when the API is in use. I think that&#x27;s pretty cool!&quot;</i><p>I am always puzzled about this &quot;autoscale&quot; thing on a cloud.<p>If your task can be represented as something like calculate sum of some ginormous array then sure. Split array in parts and launch thousand instances each working on it&#x27;s own slice and then combine.<p>In way more common situation you have a service hitting database and doing something with it. Sure you can spin a thousand instances of said service. But they will all be hitting the same database. So in reality I think the only really scalable part here is the database. And scalability in databases has no universal solution and the ones that exists come with the load of caveats.<p>I think unless you operate on FB&#x2F;etc scale the simplest and cheapest solution would be to buy&#x2F;rent nice piece of hardware yourself and place database on said hardware. That should give you a nice run for your money and free you from bazillion layers of abstractions, dependencies, etc. that often tend to fall apart.