Reader small image

You're reading from  Architecting Cloud-Native Serverless Solutions

Product typeBook
Published inJun 2023
PublisherPackt
ISBN-139781803230085
Edition1st Edition
Concepts
Right arrow
Author (1)
Safeer CM
Safeer CM
author image
Safeer CM

Safeer CM is a technology generalist with more than 16 years of experience in site reliability engineering, DevOps, infrastructure, and platform engineering. A site reliability engineer by trade, Safeer has managed large-scale production infrastructures at internet giants like Yahoo and LinkedIn and is currently working at Flipkart. He has experience in cloud management and consulting for budding and established startups as a cloud architect. He is an ambassador of the Continuous Delivery Foundation and contributes to the CD and DevOps communities. As a technology speaker, blogger and meetup organizer, Safeer enjoys mentoring new technology talents, especially in the fields of SRE and DevOps.
Read more about Safeer CM

Right arrow

Serverless applications in the Well-Architected Framework

The AWS Well-Architected Framework has a guiding document called the Serverless Applications Lens. This document covers common serverless design scenarios and lays out best practices. The core design principles are as follows:

  • Singular: Functions should be single-purpose and simple enough to satisfy the one case they serve.
  • Concurrency is the key: Any design decisions you take should be based on how many concurrent invocations the use case would need, as serverless is always tuned for concurrency.
  • Stateless: FaaS is ephemeral in nature and doesn’t store anything in its own environment. It should share nothing and you should assume that its execution state and underlying storage are perishable. If durability is part of the use case, use persistent remote storage.
  • Orchestrate with state machines: While it is possible to chain Lambda functions to orchestrate complex workflows, it will defeat the very...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Architecting Cloud-Native Serverless Solutions
Published in: Jun 2023Publisher: PacktISBN-13: 9781803230085

Author (1)

author image
Safeer CM

Safeer CM is a technology generalist with more than 16 years of experience in site reliability engineering, DevOps, infrastructure, and platform engineering. A site reliability engineer by trade, Safeer has managed large-scale production infrastructures at internet giants like Yahoo and LinkedIn and is currently working at Flipkart. He has experience in cloud management and consulting for budding and established startups as a cloud architect. He is an ambassador of the Continuous Delivery Foundation and contributes to the CD and DevOps communities. As a technology speaker, blogger and meetup organizer, Safeer enjoys mentoring new technology talents, especially in the fields of SRE and DevOps.
Read more about Safeer CM