SlideShare a Scribd company logo
Function as a Service
Serverless architecture
)(xf
Calculate reports per project for each customer.
Log errors from frontend application.
?
Application Server
ApplicationClient
REST over HTTP
- Inefficient
- Costly
- Difficult operations
- Control over data
- Costly with higher demands
- Dynamic scalability not seamless
- Easier creation of dedicated
hosts
- Vendor and technology lock-in
- Difficult migration of projects
that are not cloud-ready well-
written
- Flexible and scalable
Dedicated server IaaS PaaS
Server(full?) - transition to cloud
Serverless computing is a cloud
computing execution model in which the
cloud provider dynamically manages the
allocation of machine resources.
Pricing is based on the actual amount of
resources consumed by an application,
rather than on pre-purchased units of
capacity.
Calculate reports per project for each customer.
)(xf
)(xf
)(xf
)(xf
n
Log errors from frontend application.
)(xf
Suitable for…
• Event-driven applications
• Messages from IoT devices
• Pay-per-click services
• Stateless applications
• Applications APIs
• Mobile backend as a service (MBaaS)
• Scheduled events
• Parsing data at certain time of the day
Not suitable for…
• Long running operations
• Need to be broken down
• Stateful applications
• State must be stored separately
AWS Lambda
Preview…
It’s all about the architecture
Kinesis Lambda DynamoDB
Pitfall 1: Vendor control and lock-in
• Limits on execution time
• Monitoring, health checks defined by providers
)(xf< 2 min
Pitfall 2: Thin backend, thick clients
• Lots of logic needs to be handled by client
• For multiple clients, it could mean a lot of repetition
)(xf
Pitfall 3: Startup latency (in JVM)
• If there are longer times between executions or the calls are
infrequent
)(xf
Pitfall 4: Look ma’, no operations!
)(xf
…also, no server optimizations
🤔
Pitfall 5: Development in browser?
Upload
https://aws.amazon.com/lambda/pricing/
128MB memory
30 000 000 requests
200ms / request
$11.63*monthly
Stateless, single purpose, event driven
Good in combination with other vendor-specific PaaS resources
Pay only for total execution time of function
Service providers supporting cloud functions:
Google Cloud Functions, AWS Lambda, Azure functions, IBM OpenWhisk,…
Tooling is not great
Develop either in browser or prepare for a lot of boilerplate
Honorary mention: Serverless Framework, Spring Cloud Functions
)(xf
Thank you for your attention
Pavol Rajzák
)(xf

More Related Content

PDF
Kafka Summit NYC 2017 - Every Message Counts: Kafka as a Foundation for Highl...
PPTX
goto; London: Keeping your Cloud Footprint in Check
PPT
Kafka Summit NYC 2017 - Simplifying Omni-Channel Retail at Scale
PDF
Data Streaming in Kafka
PPTX
Bank of China (HK) Tech Talk 1: Dive Into Apache Kafka
PDF
Cloud Capacity Planning Tooling - South Bay SRE Meetup Aug-09-2016
PDF
Bank of China Tech Talk 2: Introduction to Streaming Data and Stream Processi...
PDF
#lspe Q1 2013 dynamically scaling netflix in the cloud
Kafka Summit NYC 2017 - Every Message Counts: Kafka as a Foundation for Highl...
goto; London: Keeping your Cloud Footprint in Check
Kafka Summit NYC 2017 - Simplifying Omni-Channel Retail at Scale
Data Streaming in Kafka
Bank of China (HK) Tech Talk 1: Dive Into Apache Kafka
Cloud Capacity Planning Tooling - South Bay SRE Meetup Aug-09-2016
Bank of China Tech Talk 2: Introduction to Streaming Data and Stream Processi...
#lspe Q1 2013 dynamically scaling netflix in the cloud

What's hot (20)

PDF
Santa Cloud: How Netflix Does Holiday Capacity Planning - South Bay SRE Meetu...
PPTX
Surge 2013: Maximizing Scalability, Resiliency, and Engineering Velocity in t...
PDF
Introduction to Apache Kafka and Confluent... and why they matter!
PDF
ksqlDB Workshop
PDF
Modernization patterns to refactor a legacy application into event driven mic...
PDF
Applying ML on your Data in Motion with AWS and Confluent | Joseph Morais, Co...
PDF
Simplifying Event Streaming: Tools for Location Transparency and Data Evoluti...
PDF
Real-Time Dynamic Data Export Using the Kafka Ecosystem
PDF
Confluent On Azure: Why you should add Confluent to your Azure toolkit | Alic...
PPTX
3/18/15 Billing&Payments Eng Meetup II - Payments Processing in the Cloud
PDF
Billions of Messages in Real Time: Why Paypal & LinkedIn Trust an Engagement ...
PDF
Kafka for Real-Time Event Processing in Serverless Environments
PDF
Kafka and Stream Processing, Taking Analytics Real-time, Mike Spicer
PDF
MongoDB and Machine Learning with Flowable
PDF
Event Driven Architecture with a RESTful Microservices Architecture (Kyle Ben...
PDF
What’s New with Flowable?
PDF
Kafka Summit NYC 2017 - The Real-time Event Driven Bank: A Kafka Story
PPTX
Keeping Analytics Data Fresh in a Streaming Architecture | John Neal, Qlik
PDF
3 Ways to Deliver an Elastic, Cost-Effective Cloud Architecture
Santa Cloud: How Netflix Does Holiday Capacity Planning - South Bay SRE Meetu...
Surge 2013: Maximizing Scalability, Resiliency, and Engineering Velocity in t...
Introduction to Apache Kafka and Confluent... and why they matter!
ksqlDB Workshop
Modernization patterns to refactor a legacy application into event driven mic...
Applying ML on your Data in Motion with AWS and Confluent | Joseph Morais, Co...
Simplifying Event Streaming: Tools for Location Transparency and Data Evoluti...
Real-Time Dynamic Data Export Using the Kafka Ecosystem
Confluent On Azure: Why you should add Confluent to your Azure toolkit | Alic...
3/18/15 Billing&Payments Eng Meetup II - Payments Processing in the Cloud
Billions of Messages in Real Time: Why Paypal & LinkedIn Trust an Engagement ...
Kafka for Real-Time Event Processing in Serverless Environments
Kafka and Stream Processing, Taking Analytics Real-time, Mike Spicer
MongoDB and Machine Learning with Flowable
Event Driven Architecture with a RESTful Microservices Architecture (Kyle Ben...
What’s New with Flowable?
Kafka Summit NYC 2017 - The Real-time Event Driven Bank: A Kafka Story
Keeping Analytics Data Fresh in a Streaming Architecture | John Neal, Qlik
3 Ways to Deliver an Elastic, Cost-Effective Cloud Architecture
Ad

Similar to Itera Dev Meetup - Function as a Service - Serverless architecture (20)

PDF
Serverless Node.js
PDF
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
PPTX
Serverless architectures: APIs, Serverless Functions, Microservices - How to ...
PPTX
Serverless at Lifestage
PDF
Serverless Computing
PDF
Microservices Manchester: Serverless Architectures By Rafal Gancarz
PPTX
Primeros pasos en desarrollo serverless
PDF
Jumpstart your idea with AWS Serverless [Oct 2020]
PDF
Serverless Days Ahmedabad - Dhaval Nagar.pptx.pdf
PPTX
What is Serverless Computing?
PDF
Designing Serverless Architectures on AWS
PPTX
New Serverless World - Cloud Native Apps
PPTX
New Serverless World, Cloud Native Apps
PDF
Serverless use cases with AWS Lambda - More Serverless Event
PDF
FaaS or not to FaaS AWS Community Day Hamburg 2019 Bannes Kazulkin
PDF
Montréal AWS Users United: Let's go Serverless!
PDF
Serverless Toronto User Group - Let's go Serverless!
PDF
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
PDF
Serverless: A love hate relationship
PPTX
Serverless applications
Serverless Node.js
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
Serverless architectures: APIs, Serverless Functions, Microservices - How to ...
Serverless at Lifestage
Serverless Computing
Microservices Manchester: Serverless Architectures By Rafal Gancarz
Primeros pasos en desarrollo serverless
Jumpstart your idea with AWS Serverless [Oct 2020]
Serverless Days Ahmedabad - Dhaval Nagar.pptx.pdf
What is Serverless Computing?
Designing Serverless Architectures on AWS
New Serverless World - Cloud Native Apps
New Serverless World, Cloud Native Apps
Serverless use cases with AWS Lambda - More Serverless Event
FaaS or not to FaaS AWS Community Day Hamburg 2019 Bannes Kazulkin
Montréal AWS Users United: Let's go Serverless!
Serverless Toronto User Group - Let's go Serverless!
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
Serverless: A love hate relationship
Serverless applications
Ad

Recently uploaded (20)

PDF
Designing Intelligence for the Shop Floor.pdf
PPTX
Introduction to Artificial Intelligence
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
System and Network Administraation Chapter 3
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
top salesforce developer skills in 2025.pdf
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
L1 - Introduction to python Backend.pptx
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Understanding Forklifts - TECH EHS Solution
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
Designing Intelligence for the Shop Floor.pdf
Introduction to Artificial Intelligence
Odoo Companies in India – Driving Business Transformation.pdf
Operating system designcfffgfgggggggvggggggggg
Reimagine Home Health with the Power of Agentic AI​
How to Migrate SBCGlobal Email to Yahoo Easily
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
System and Network Administraation Chapter 3
Design an Analysis of Algorithms II-SECS-1021-03
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
top salesforce developer skills in 2025.pdf
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Adobe Illustrator 28.6 Crack My Vision of Vector Design
L1 - Introduction to python Backend.pptx
Softaken Excel to vCard Converter Software.pdf
Computer Software and OS of computer science of grade 11.pptx
Understanding Forklifts - TECH EHS Solution
PTS Company Brochure 2025 (1).pdf.......
Upgrade and Innovation Strategies for SAP ERP Customers

Itera Dev Meetup - Function as a Service - Serverless architecture

  • 1. Function as a Service Serverless architecture )(xf
  • 2. Calculate reports per project for each customer.
  • 3. Log errors from frontend application. ?
  • 5. - Inefficient - Costly - Difficult operations - Control over data - Costly with higher demands - Dynamic scalability not seamless - Easier creation of dedicated hosts - Vendor and technology lock-in - Difficult migration of projects that are not cloud-ready well- written - Flexible and scalable Dedicated server IaaS PaaS Server(full?) - transition to cloud
  • 6. Serverless computing is a cloud computing execution model in which the cloud provider dynamically manages the allocation of machine resources. Pricing is based on the actual amount of resources consumed by an application, rather than on pre-purchased units of capacity.
  • 7. Calculate reports per project for each customer. )(xf )(xf )(xf )(xf n
  • 8. Log errors from frontend application. )(xf
  • 9. Suitable for… • Event-driven applications • Messages from IoT devices • Pay-per-click services • Stateless applications • Applications APIs • Mobile backend as a service (MBaaS) • Scheduled events • Parsing data at certain time of the day
  • 10. Not suitable for… • Long running operations • Need to be broken down • Stateful applications • State must be stored separately
  • 12. It’s all about the architecture Kinesis Lambda DynamoDB
  • 13. Pitfall 1: Vendor control and lock-in • Limits on execution time • Monitoring, health checks defined by providers )(xf< 2 min
  • 14. Pitfall 2: Thin backend, thick clients • Lots of logic needs to be handled by client • For multiple clients, it could mean a lot of repetition )(xf
  • 15. Pitfall 3: Startup latency (in JVM) • If there are longer times between executions or the calls are infrequent )(xf
  • 16. Pitfall 4: Look ma’, no operations! )(xf …also, no server optimizations
  • 17. 🤔 Pitfall 5: Development in browser? Upload
  • 19. Stateless, single purpose, event driven Good in combination with other vendor-specific PaaS resources Pay only for total execution time of function Service providers supporting cloud functions: Google Cloud Functions, AWS Lambda, Azure functions, IBM OpenWhisk,… Tooling is not great Develop either in browser or prepare for a lot of boilerplate Honorary mention: Serverless Framework, Spring Cloud Functions )(xf
  • 20. Thank you for your attention Pavol Rajzák )(xf

Editor's Notes

  • #2: Topic transitions… New technologies aren’t really new New (old) technologies are being utilized for new, modern purposes Cloud is a first-class citizen when it comes to developing new software Many possibilities on how to utilize this computing power, not everything is suitable Let’s look at some real life scenarios…
  • #5: Typical web application (client/server) setup: Client sends HTTP request to REST API Application receives request through a server socket Application processes the request and sends HTTP response with body (data)
  • #6: In-house server hosting Only feasible for big companies, e.g. U.S. Steel IaaS You can use service providers Or you can develop your own infrastructure PaaS Also CaaS (containers) and SaaS
  • #7: Connection of Serverless and FaaS – Serverless is utilizing FaaS model
  • #10: Event-sourcing – AWS Lambda can be used to process events, like processing Kinesis stream (lambda polls the stream)
  • #12: Showcase: AWS Console Create Lambda function You can test the function directly Upload new version or save it directly in browser API Gateway, IAM Roles
  • #13: Kinesis stream receives data, the lambda processes the stream logging errors, DynamoDB is used to store the errors. You develop your application not using specific features, but abstractions (e.g. Event sourcing, Function composition, CQRS)
  • #15: User state (session) management Shared data
  • #16: Also valid for interpreted languages, application is passivated after certain time of inactivity, it may be up in few milliseconds, but you have to bear it in mind.
  • #17: It is a black box, to which you don’t have any access
  • #18: https://serverless.com/
  • #19: Watch out for pricing used in combination with other services. You may pay a lot for the least denominator. Take into account: API Gateway, IAM access, S3 Bucket, DynamoDB, etc.
  • #20: Spring Cloud Functoins - Dave Syer @ OpenSlava 2017