O'Reilly logo

DevOps for Serverless Applications by Shashikant Bangera

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Measure the scale

The main feature of serverless is efficient scaling, but we should code it so that it scales efficiently. We could avoid calling a direct data connection within the function, or avoid adding huge numbers of dependency libraries. So, in short, the lighter the function, the faster the cold start is, and eventually it will scale much faster. Also make sure that functions are load tested before they reach production for efficient scaling.

In this section, we looked into the various best practices that make serverless functions perform and scale very efficiently. Although this is not the complete list, these are a few of the very important ones. In the next section, we will learn the best practices for each cloud provider and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required