CodeOps Technologies
Serverless Architecture
Patterns
Manoj Ganapathi
Chief Architect, CodeOps
manoj@codeops.tech
@manojgr
Serverless: Core Principles
❖ Functions are the unit of deployment and scale
❖ Use Serverless to solve specific problems, not every application can
be written as Serverless.
❖ Keep your functions Stateless – use cloud storage for WIP state
❖ Functions should:
❖ “Do One Thing”– Single Responsibility Principle
❖ Be Idempotent
❖ Finish as fast as possible
“Rethink your application as an orchestra of
autonomous functions”
Architectures
•Compute as a
Backend
•Real-time
Processing
•Compute as a glue
•Hybrid
•Proxy
Use Cases
•App Backend
•Data Pipelines
•Bots and Skills
•Legacy API Proxy
•Scheduled/Event
Driven services
•Stream Processing
Patterns
•Messaging
•Command
•Pipes and Filter
•Fan Out
•Priority Queue
Reference: Serverless Architectures on AWS
Key Patterns
Messaging and Command
• Decouple services by introducing a queue
• Typically in asynchronous messaging in web apps and services to take the
load off the application
• Also shows the Command pattern (encapsulated implementation for a
standard interface)
Reference: Serverless Architectures on AWS
Fan Out
• Topic-Subscription scenario.
• For e.g: Once a video is uploaded, you may want to encode them in
multiple formats in parallel and also transcribe
Reference: Serverless Architectures on AWS
Pipes and Filter
• To manage a sequential series of tasks – like a data pipeline
• Functions can work as a pipe (connector) or a filter (transformation)
Reference: Serverless Architectures on AWS
Appendix AWS Lambda and Azure
Functions examples
AWS: Web Applications
https://www.slideshare.net/AmazonWebServices/aws-reinvent-2016-serverless-
architectural-patterns-and-best-practices-arc402
AWS: Batch Processing
https://www.slideshare.net/AmazonWebServices/aws-reinvent-2016-serverless-
architectural-patterns-and-best-practices-arc402
AWS: Stream Processing
https://www.slideshare.net/AmazonWebServices/aws-reinvent-2016-serverless-
architectural-patterns-and-best-practices-arc402
Azure Functions: Stream Processing
https://www.slideshare.net/satonaoki/serverless-patterns-with-azure-functions
Azure Functions: Managing Dialog
responses in Chatbots
https://www.slideshare.net/satonaoki/serverless-patterns-with-azure-functions
Azure Functions: Integration and Web
API
https://www.slideshare.net/ServerlessConf/chris-anderson-and-yochay-
kiriaty-serverless-patterns-with-azure-functions
AWS: Event Driven Automation
https://www.slideshare.net/AmazonWebServices/aws-reinvent-2016-serverless-
architectural-patterns-and-best-practices-arc402
Azure Functions: Service Event
Processing
https://www.slideshare.net/satonaoki/serverless-patterns-with-azure-functions

More Related Content

PDF
Serverless Summit - Quiz
PPTX
Serverless in azure
PDF
Build a Chatbot in Ten Minutes - Dave Kerr - Serverless Summit
PDF
Democratizing Serverless—The Open Source Fn Project - Serverless Summit
PDF
Creating Event Driven Serverless Applications - Sandeep - Adobe - Serverless ...
PPTX
Serverless Summit India 2017: Fission
PDF
Serverless Architecture Patterns - Manoj Ganapathi
PPTX
Serverless by examples and case studies
Serverless Summit - Quiz
Serverless in azure
Build a Chatbot in Ten Minutes - Dave Kerr - Serverless Summit
Democratizing Serverless—The Open Source Fn Project - Serverless Summit
Creating Event Driven Serverless Applications - Sandeep - Adobe - Serverless ...
Serverless Summit India 2017: Fission
Serverless Architecture Patterns - Manoj Ganapathi
Serverless by examples and case studies

What's hot (20)

PDF
Rob Gruhl and Erik Erikson - What We Learned in 18 Serverless Months at Nords...
PDF
Serverless
PDF
Infrastructure as Code
PDF
Infrastructure as Code
PDF
Ben Kehoe - Serverless Architecture for the Internet of Things
PDF
Infrastructure as code
PDF
Java & Microservices in Azure
PDF
Haufe Onboarding - Fast Iterating With the MERN Stack - TEC Day 2019
PPTX
Azure functions
PPTX
Introduction to chef
PPTX
AngularJS Anatomy & Directives
PPTX
Auto Retweets Using AWS Lambda
PPTX
Alfresco Process Services (APS) and the Internet of Things
PPTX
Training And Serving ML Model Using Kubeflow by Jayesh Sharma
PPTX
Serverless with Azure Functions
PPTX
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
PPTX
Serverless Reality
PPTX
Artificial Intelligence & Machine learning foundation topic in AWS
PPTX
Azure infra automation using pulumi
PDF
ECS19 - Daniel Neumann - AZURE FUNCTIONS 2.0 - RUNNING SERVERLESS EVERYWHERE
Rob Gruhl and Erik Erikson - What We Learned in 18 Serverless Months at Nords...
Serverless
Infrastructure as Code
Infrastructure as Code
Ben Kehoe - Serverless Architecture for the Internet of Things
Infrastructure as code
Java & Microservices in Azure
Haufe Onboarding - Fast Iterating With the MERN Stack - TEC Day 2019
Azure functions
Introduction to chef
AngularJS Anatomy & Directives
Auto Retweets Using AWS Lambda
Alfresco Process Services (APS) and the Internet of Things
Training And Serving ML Model Using Kubeflow by Jayesh Sharma
Serverless with Azure Functions
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
Serverless Reality
Artificial Intelligence & Machine learning foundation topic in AWS
Azure infra automation using pulumi
ECS19 - Daniel Neumann - AZURE FUNCTIONS 2.0 - RUNNING SERVERLESS EVERYWHERE

Viewers also liked (10)

PPTX
Serverless: Why is it hot and What is it not?
PDF
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
PDF
Blockchain - Apt Store for Serverless Apps - Nasir - Serverless Summit
PDF
IoT and Serverless - AWS - Serverless Summit - Madhusudan Shekar
PDF
Application Security in a Container World - Akash Mahajan - BCC 2017
PDF
How to Contribute to Cloud Native Computing Foundation
PDF
Containers and Developer Defined Data Centers - Evan Powell - Keynote in Bang...
PDF
On Prem Container Cloud - Lessons Learned
PDF
KUBERNETES AS A FRAMEWORK FOR WRITING DEVOPS & MICROSERVICES TOOLING
PDF
Containers & Cloud Native Ops Cloud Foundry Approach
Serverless: Why is it hot and What is it not?
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
Blockchain - Apt Store for Serverless Apps - Nasir - Serverless Summit
IoT and Serverless - AWS - Serverless Summit - Madhusudan Shekar
Application Security in a Container World - Akash Mahajan - BCC 2017
How to Contribute to Cloud Native Computing Foundation
Containers and Developer Defined Data Centers - Evan Powell - Keynote in Bang...
On Prem Container Cloud - Lessons Learned
KUBERNETES AS A FRAMEWORK FOR WRITING DEVOPS & MICROSERVICES TOOLING
Containers & Cloud Native Ops Cloud Foundry Approach

Similar to Serverless Architecture Patterns - Manoj Ganapathi - Serverless Summit (20)

PPTX
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
PDF
introduction to asp.net core lebanese university.pptx
PPTX
What is Serverless Computing?
PPTX
Single page application and Framework
PDF
Getting Started with AWS Lambda and Serverless Computing
PPTX
muCon 2017 - 12 Factor Serverless Applications
PDF
Cloud-native Data: Every Microservice Needs a Cache
PDF
Web jobs, Azure Functions and Serverless Computing
PDF
Serverless architecture
PDF
AppScale @ LA.rb
PPTX
Building serverless app_using_aws_lambda_b4usolution
PDF
Containers, microservices and serverless for realists
PDF
Escaping the yellow bubble - rewriting Domino using MongoDb and Angular
PDF
Aws-What You Need to Know_Simon Elisha
PPTX
How Serverless Changes DevOps
PDF
SGCE 2015 REST APIs
PDF
APIs distribuidos con alta escalabilidad
PDF
Building Enterprise Grade Front-End Applications with JavaScript Frameworks
PDF
Serverless brewbox
PDF
NDev Talk - Serverless Design Patterns
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
introduction to asp.net core lebanese university.pptx
What is Serverless Computing?
Single page application and Framework
Getting Started with AWS Lambda and Serverless Computing
muCon 2017 - 12 Factor Serverless Applications
Cloud-native Data: Every Microservice Needs a Cache
Web jobs, Azure Functions and Serverless Computing
Serverless architecture
AppScale @ LA.rb
Building serverless app_using_aws_lambda_b4usolution
Containers, microservices and serverless for realists
Escaping the yellow bubble - rewriting Domino using MongoDb and Angular
Aws-What You Need to Know_Simon Elisha
How Serverless Changes DevOps
SGCE 2015 REST APIs
APIs distribuidos con alta escalabilidad
Building Enterprise Grade Front-End Applications with JavaScript Frameworks
Serverless brewbox
NDev Talk - Serverless Design Patterns

More from CodeOps Technologies LLP (20)

PDF
AWS Serverless Event-driven Architecture - in lastminute.com meetup
PPTX
Understanding azure batch service
PDF
DEVOPS AND MACHINE LEARNING
PDF
SERVERLESS MIDDLEWARE IN AZURE FUNCTIONS
PPT
BUILDING SERVERLESS SOLUTIONS WITH AZURE FUNCTIONS
PPTX
APPLYING DEVOPS STRATEGIES ON SCALE USING AZURE DEVOPS SERVICES
PPTX
BUILD, TEST & DEPLOY .NET CORE APPS IN AZURE DEVOPS
PPTX
CREATE RELIABLE AND LOW-CODE APPLICATION IN SERVERLESS MANNER
PPTX
WRITE SCALABLE COMMUNICATION APPLICATION WITH POWER OF SERVERLESS
PPTX
Deploy Microservices To Kubernetes Without Secrets by Reenu Saluja
PDF
Leverage Azure Tech stack for any Kubernetes cluster via Azure Arc by Saiyam ...
PDF
YAML Tips For Kubernetes by Neependra Khare
PDF
Must Know Azure Kubernetes Best Practices And Features For Better Resiliency ...
PPTX
Monitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
PDF
Jet brains space intro presentation
PDF
Functional Programming in Java 8 - Lambdas and Streams
PPTX
Distributed Tracing: New DevOps Foundation
PDF
"Distributed Tracing: New DevOps Foundation" by Jayesh Ahire
PDF
Improve customer engagement and productivity with conversational ai
PPTX
Text semantics with azure text analytics cognitive services
AWS Serverless Event-driven Architecture - in lastminute.com meetup
Understanding azure batch service
DEVOPS AND MACHINE LEARNING
SERVERLESS MIDDLEWARE IN AZURE FUNCTIONS
BUILDING SERVERLESS SOLUTIONS WITH AZURE FUNCTIONS
APPLYING DEVOPS STRATEGIES ON SCALE USING AZURE DEVOPS SERVICES
BUILD, TEST & DEPLOY .NET CORE APPS IN AZURE DEVOPS
CREATE RELIABLE AND LOW-CODE APPLICATION IN SERVERLESS MANNER
WRITE SCALABLE COMMUNICATION APPLICATION WITH POWER OF SERVERLESS
Deploy Microservices To Kubernetes Without Secrets by Reenu Saluja
Leverage Azure Tech stack for any Kubernetes cluster via Azure Arc by Saiyam ...
YAML Tips For Kubernetes by Neependra Khare
Must Know Azure Kubernetes Best Practices And Features For Better Resiliency ...
Monitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
Jet brains space intro presentation
Functional Programming in Java 8 - Lambdas and Streams
Distributed Tracing: New DevOps Foundation
"Distributed Tracing: New DevOps Foundation" by Jayesh Ahire
Improve customer engagement and productivity with conversational ai
Text semantics with azure text analytics cognitive services

Recently uploaded (20)

PPTX
MCP empowers AI Agents from Zero to Production
PPTX
Bandicam Screen Recorder 8.2.1 Build 2529 Crack
PDF
Building an Inclusive Web Accessibility Made Simple with Accessibility Analyzer
PPTX
Comprehensive Guide to Digital Image Processing Concepts and Applications
PPTX
AI Tools Revolutionizing Software Development Workflows
PDF
Multiverse AI Review 2025_ The Ultimate All-in-One AI Platform.pdf
PDF
Ragic Data Security Overview: Certifications, Compliance, and Network Safegua...
PPTX
Greedy best-first search algorithm always selects the path which appears best...
PPTX
Post-Migration Optimization Playbook: Getting the Most Out of Your New Adobe ...
PDF
solman-7.0-ehp1-sp21-incident-management
PDF
Mobile App for Guard Tour and Reporting.pdf
PPTX
Independent Consultants’ Biggest Challenges in ERP Projects – and How Apagen ...
PPTX
ROI from Efficient Content & Campaign Management in the Digital Media Industry
PPTX
Foundations of Marketo Engage: Nurturing
PDF
Module 1 - Introduction to Generative AI.pdf
PDF
WhatsApp Chatbots The Key to Scalable Customer Support.pdf
PDF
Top AI Tools for Project Managers: My 2025 AI Stack
PPTX
Why 2025 Is the Best Year to Hire Software Developers in India
PPTX
ESDS_SAP Application Cloud Offerings.pptx
PDF
Top 10 Project Management Software for Small Teams in 2025.pdf
MCP empowers AI Agents from Zero to Production
Bandicam Screen Recorder 8.2.1 Build 2529 Crack
Building an Inclusive Web Accessibility Made Simple with Accessibility Analyzer
Comprehensive Guide to Digital Image Processing Concepts and Applications
AI Tools Revolutionizing Software Development Workflows
Multiverse AI Review 2025_ The Ultimate All-in-One AI Platform.pdf
Ragic Data Security Overview: Certifications, Compliance, and Network Safegua...
Greedy best-first search algorithm always selects the path which appears best...
Post-Migration Optimization Playbook: Getting the Most Out of Your New Adobe ...
solman-7.0-ehp1-sp21-incident-management
Mobile App for Guard Tour and Reporting.pdf
Independent Consultants’ Biggest Challenges in ERP Projects – and How Apagen ...
ROI from Efficient Content & Campaign Management in the Digital Media Industry
Foundations of Marketo Engage: Nurturing
Module 1 - Introduction to Generative AI.pdf
WhatsApp Chatbots The Key to Scalable Customer Support.pdf
Top AI Tools for Project Managers: My 2025 AI Stack
Why 2025 Is the Best Year to Hire Software Developers in India
ESDS_SAP Application Cloud Offerings.pptx
Top 10 Project Management Software for Small Teams in 2025.pdf

Serverless Architecture Patterns - Manoj Ganapathi - Serverless Summit