Understanding Serverless Cost Models – Cost of Serverless Operation

Understanding Serverless Cost Models When evaluating your options for hosting and operating your software, cost is usu‐ ally a key consideration. In recent years, serverless has emerged as a sound choice for teams and organizations looking for simplicity and cost-efficiency. With the com‐ bination of managed services and a pay-per-use pricing model, there is huge […]

Continue Reading

Implementation Patterns and Best Practices for Sustainability – Sustainability in Serverless

Implementation Patterns and Best Practices for Sustainability In terms of patterns and practices, there are four distinct areas you can focus on for sustainability as part of your daily consumption of cloud services: The following sections discuss each of these in detail. User Behavior When you release a new feature, you assess how your consumers […]

Continue Reading

Software Architecture – Sustainability in Serverless

Software Architecture You’ve already learned a great deal about serverless architectures, patterns, develop‐ ment, and operating practices in this book. In this section, we’ll explore how they are relevant to promoting sustainability in the cloud by looking at some best practices. A decoupled event-driven serverless application composed of man‐ aged cloud services is a step […]

Continue Reading

Use queues to buffer requests and smooth workloads – Sustainability in Serverless

Use queues to buffer requests and smooth workloads If your application experiences unpredictable traffic spikes, planning and provision‐ ing the required extra resources can be challenging. For example, if you set the Lambda provisioned concurrency level too high, you’ll end up wasting resources and incurring unnecessary costs. In such situations, you must identify and separate […]

Continue Reading

Run batch jobs during a low energy consumption period – Sustainability in Serverless

Run batch jobs during a low energy consumption period Nightly batch jobs that perform data consolidation, engineering analysis, business analytics, payment settlements, and other tasks are common in many organizations. Working with AWS, identify the quieter periods in your cloud Region and schedule your batch jobs during those hours. Batch jobs usually have a predictable […]

Continue Reading