Life moves pretty fast…
From IaaS to CaaS to PaaS…
First things first. There are still servers.
We are just (further)
abstracted away from them.
We don’t have to spend time
provisioning, updating, scaling…
In other words it is
someone else’s problem.
https://mobile.twitter.com/samnewman/status/952610105169793025
https://mobile.twitter.com/starbuxman/status/959366771462496256
IaaS
Containers
Container
Container
Scheduling
Primitives for
Networking,
Routing, Logs and
Metrics
Platform
Application
Container Images
L7 Network
Logs, Metrics,
Monitoring
Services
Marketplace
Team, Quotas &
Usage
Container
Serverless
Function
Function Execution
Function Scaling
Event Stream
Bindings
Container
Developer
Provided
Tool
Provided
Different levels of abstraction.
Hardware
IaaS
Containers
Platforms
Serverless
More Flexibility
Fewer Standards
Lower Complexity
Operational Efficiency
Push as many workloads up the stack as feasible.
Some argue it is the new PaaS.
http://redmonk.com/sogrady/2018/01/26/serverless-is-the-new-paas/
Veritable plethora of options.
AWS Lambda, Azure Functions,
Google Cloud Functions…
Knative, riff, OpenWhisk,
Kubeless, Fission…
Definitely suffers from the
shiny new thing curse.
Serverless Spring - Nate Schutta 2/2
And everything that entails.
Serverless Spring - Nate Schutta 2/2
Fair to say FaaS is a subset of serverless.
Though many use the
terms interchangeably.
There *are* very good reasons to
utilize this approach!
Some relate specifically to a platform.
Perhaps you already have
data with a provider.
Using Amazon S3 for example.
You might want to tap into particular
services offered by a provider.
Perhaps you want to utilize Google
Cloud Machine Learning Engine.
But it isn’t just a new a way to cloud.
There are serious efficiency gains to
be had with this approach!
Development efficiencies.
Functions push us further up
the abstraction curve.
Allows us to focus on
implementation not infrastructure.
Do you know what OS your
application is running on?
Do you care?
What *should* you care about?
Where is the “value line” for you?
We want to get out of the business
of “undifferentiated heavy lifting”.
Focus on business problems,
not plumbing problems.
Resource efficiencies.
Function hasn’t been called recently?
Terminate the container.
Request comes in? Instance
springs into existence.
First million (or two) requests are free*.
* Additional fees may apply.
For example: data transfer fees or
other services you leverage.
Functions aren’t free however.
Past the free tier, you’re charged a
fractional amount there after.
Charged based on number of requests,
run duration and resource allocation.
Can be challenging to determine just
how much it will cost…
But for certain workloads,
it is very cost effective.
Operational efficiencies.
Serverless ops?
Again, less for us to worry about.
Rely on a platform.
What use cases fit well with functions?
Rapidly evolving
business requirements…
Stateless workloads.
Infrequent (or sporadic) requests.
Variable scaling needs.
Asynchronous workloads.
Easy to parallelize.
IoT, machine learning, log ingestion,
batch processing, stream processing.
“Conversational UIs” aka digital
assistants like Alexa.
CI/CD automation, chat integration.
Website back end services such as
logging, post handlers, authentication.
Event processing, monitoring,
notifications, alerting, security scanning.
Very valuable tool.
It isn’t a good fit for every workload.
https://twitter.com/ntschutta/status/1010109588832702464
But you knew that.
riff fundamentals.
riff is for functions.
https://projectriff.io
FaaS for Kubernetes.
Built on top of Knative.
Built on the experience of Spring
Cloud Streams and Data Flow.
Functions can be polyglot.
Scale up and down as needed.
ICE - CAP for serverless.
Immediate. Consistent. Efficient.
Pick two.
What are your concerns? Resource
utilization? Immutable containers?
Set of comprises.
If we keep containers running, we’re
paying for idle resources.
If we inject code into a container,
we lose immutability.
If we launch containers on demand,
we have slow startup experience.
https://mobile.twitter.com/seldo/status/1046895968329728000
🤔
Many platforms use dynamic loading.
But the goal with riff is to give *you*
control over the tradeoffs.
riff is thin.
Functions are deployed and
run as Knative Services.
CLI builds on Knative and kubectl.
Can create function from source.
Or from a repo.
Push image to DockerHub or GCR.
Rebuilding triggers a new Knative
Revision for each build.
Subscriptions have their own CLI.
create, delete, list.
Very new, evolving rapidly.
Agnostic layer for FaaS. Run it
on premise or public cloud.
riff under the hood.
Knative.
https://cloud.google.com/knative/
Lot of fragmentation in
the functions space…
“Kubernetes-based platform to
build, deploy, and manage
modern serverless workloads.”
“Kubernetes-native APIs for
deploying serverless-style functions,
applications, and containers.”
https://projectriff.io/blog/announcing-riff-0-1-0-on-Knative/
Middleware.
Run anywhere.
Orchestrating, routing and
traffic management.
Scale up, scale down to zero.
Essentially agnostic layer for FaaS.
Built on Kubernetes and Istio.
Provides three major building blocks.
Build - pluggable model for building
containers from source.
Designed to be part of a CI/CD pipeline.
Supports multiple build methods.
Kaniko, buildpacks, Dockerfiles, Bazel.
Four main elements to a build…
Where is the source code?
Steps or templates - the actual work
to build the container.
Service account that will run the build.
Volumes - available during
the build steps.
Eventing - publish/subscribe to
event streams like Kafka.
Abstraction over the event stream.
Don’t worry about the underlying
messaging platform.
Leverages Kubernetes custom resources.
Channels aka topics.
Bus - the provider aka Google Cloud
PubSub, Apache Kafka, RabbitMQ…
Serverless Spring - Nate Schutta 2/2
Serving - scale up or down to zero.
Scale up in response to lag, scale
down when demand slows.
Scale to zero when appropriate.
Also provides revision control.
Istio routes traffic to versions of
functions (aka revisions).
Facilitates zero downtime deploys,
blue-green, etc.
Kubernetes.
https://kubernetes.io
Docker.
https://www.docker.com
Which approach should *you* choose?
https://twitter.com/KentBeck/status/596007846887628801
There is no one right answer here.
&& ! ||
Not all workloads fit in each bucket.
There are tradeoffs!
But you knew that.
— Uncle Ben
“With great power
comes great
responsibility.”
Development complexity.
Do you want developers
thinking about OS patches?
Or just pushing apps?
Operational efficiency.
How many operators does it take to
manage a bespoke environment?
Flexibility vs. standardization.
Guardrails aren’t shackles.
They are designed to protect you.
How do you want to
allocate *your* resources?
Choose the option that fits the problem.
Serverless Spring - Nate Schutta 2/2
https://mobile.twitter.com/rseroter/status/1025014897787072514
https://mobile.twitter.com/wattersjames/status/1044585197730062336
Push as many workloads as you can
up the abstraction hierarchy.
Evolving space.
Life Functions move pretty fast…
riff is *really* new.
Want more?
Riffing on Project riff.
https://soundcloud.com/pivotal-insights/riffing-on-project-riff-ep-56
Serverless Spring.
https://www.youtube.com/watch?
v=mPOl3024R4s&index=73&list=PLAdzTan_eSPQ2uPeB0bByiIUMLVAhrPHL
riff is for functions.
https://www.youtube.com/watch?
v=mlRSp9Z3zwY&list=PLAdzTan_eSPQ2uPeB0bByiIUMLVAhrPHL&index=14
Dave Syer - cloud abstractions,
functions, containers, apps.
https://www.youtube.com/watch?v=icZaMdNExNU
Knative and riff for Spring Developers.
https://www.youtube.com/watch?v=zCObFAhrhJM
Knative, riff, and Pivotal
Function Service.
https://www.youtube.com/watch?time_continue=166&v=_OiGt4QwdlM
Good luck!
Nathaniel T. Schutta
@ntschutta
ntschutta.io
Thanks!
I’m a Software
Architect,
Now What?
with Nate Shutta
Modeling for
Software
Architects
with Nate Shutta
Presentation
Patterns
with Neal Ford & Nate Schutta

More Related Content

PDF
Serverless Spring - Nate Schutta 1/2
PDF
Practical Cloud & Workflow Orchestration
PDF
Pets vs. Cattle: The Elastic Cloud Story
PPTX
Microservices in Azure
PPTX
Understanding serverless architecture
PPTX
Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...
PDF
Apply best parts of microservices to serverless
PDF
Docker and Cloud - Enables for DevOps - by ACA-IT
Serverless Spring - Nate Schutta 1/2
Practical Cloud & Workflow Orchestration
Pets vs. Cattle: The Elastic Cloud Story
Microservices in Azure
Understanding serverless architecture
Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...
Apply best parts of microservices to serverless
Docker and Cloud - Enables for DevOps - by ACA-IT

What's hot (18)

PDF
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
PDF
Architectural changes with serverless
PDF
Ciso executive summit 2012
PPTX
CQRS Evolved - CQRS + Akka.NET
PDF
What makes me to migrate entire VPC JAWS PANKRATION 2021
PDF
Linuxtag 2012 - OpenNebula
PDF
Cloud Native Architectures for Devops
PPTX
Automating Cloud Cluster Deployment: Beyond the Book
PDF
Microservices Workshop All Topics Deck 2016
PDF
The Cloud Revolution - Philippines Cloud Summit
PPTX
Cqrs and event sourcing in azure
PDF
Azure Day Rome Reloaded 2019 - Reactive Systems with Event Grid
PDF
Dockerizing CS50: From Cluster to Cloud to Appliance to Container by David Ma...
PDF
What can you do with lambda in 2020
PPTX
Real World Azure - IT Pros
PDF
A practical introduction to Event Sourcing and CQRS
PDF
Handling Asynchronous Workloads With OpenShift and Iron.io
PPTX
Présentation D2SI AWS Summit Paris 2014
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
Architectural changes with serverless
Ciso executive summit 2012
CQRS Evolved - CQRS + Akka.NET
What makes me to migrate entire VPC JAWS PANKRATION 2021
Linuxtag 2012 - OpenNebula
Cloud Native Architectures for Devops
Automating Cloud Cluster Deployment: Beyond the Book
Microservices Workshop All Topics Deck 2016
The Cloud Revolution - Philippines Cloud Summit
Cqrs and event sourcing in azure
Azure Day Rome Reloaded 2019 - Reactive Systems with Event Grid
Dockerizing CS50: From Cluster to Cloud to Appliance to Container by David Ma...
What can you do with lambda in 2020
Real World Azure - IT Pros
A practical introduction to Event Sourcing and CQRS
Handling Asynchronous Workloads With OpenShift and Iron.io
Présentation D2SI AWS Summit Paris 2014
Ad

Similar to Serverless Spring - Nate Schutta 2/2 (20)

PDF
Spring, Functions, Serverless and You
PPTX
An introduction to Serverless
PDF
DCEU 18: Docker Containers in a Serverless World
PDF
Serverless brewbox
PDF
SpringOne Tour St. Louis - Serverless Spring
PPTX
What is Serverless Computing?
PDF
stackconf 2020 | The path to a Serverless-native era with Kubernetes by Paolo...
PDF
Serverless Architectures - Where have all the servers gone?
PDF
Stateful on Stateless - The Future of Applications in the Cloud
PPTX
Implementing FaaS on Kubernetes using Kubeless
PPTX
Serverless at Lifestage
PPTX
Serverless Pune Meetup 1
PDF
It's a Serverless World
PPTX
Serverless Architectures
PDF
Serverless: A love hate relationship
PDF
Serverless architecture
PDF
Voxxed Micro-services: Serverless JakartaEE - JAX-RS comes to FaaS
PDF
FaaS you like it (if Shakespeare had written Functions-as-a-Service)
PDF
Serverless is the future... or is it?
PDF
Aw (3) webinar serverless-fisher-rymer
Spring, Functions, Serverless and You
An introduction to Serverless
DCEU 18: Docker Containers in a Serverless World
Serverless brewbox
SpringOne Tour St. Louis - Serverless Spring
What is Serverless Computing?
stackconf 2020 | The path to a Serverless-native era with Kubernetes by Paolo...
Serverless Architectures - Where have all the servers gone?
Stateful on Stateless - The Future of Applications in the Cloud
Implementing FaaS on Kubernetes using Kubeless
Serverless at Lifestage
Serverless Pune Meetup 1
It's a Serverless World
Serverless Architectures
Serverless: A love hate relationship
Serverless architecture
Voxxed Micro-services: Serverless JakartaEE - JAX-RS comes to FaaS
FaaS you like it (if Shakespeare had written Functions-as-a-Service)
Serverless is the future... or is it?
Aw (3) webinar serverless-fisher-rymer
Ad

More from VMware Tanzu (20)

PDF
Spring into AI presented by Dan Vega 5/14
PDF
What AI Means For Your Product Strategy And What To Do About It
PDF
Make the Right Thing the Obvious Thing at Cardinal Health 2023
PPTX
Enhancing DevEx and Simplifying Operations at Scale
PDF
Spring Update | July 2023
PPTX
Platforms, Platform Engineering, & Platform as a Product
PPTX
Building Cloud Ready Apps
PDF
Spring Boot 3 And Beyond
PDF
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
PDF
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
PDF
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
PPTX
tanzu_developer_connect.pptx
PDF
Tanzu Virtual Developer Connect Workshop - French
PDF
Tanzu Developer Connect Workshop - English
PDF
Virtual Developer Connect Workshop - English
PDF
Tanzu Developer Connect - French
PDF
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
PDF
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
PDF
SpringOne Tour: The Influential Software Engineer
PDF
SpringOne Tour: Domain-Driven Design: Theory vs Practice
Spring into AI presented by Dan Vega 5/14
What AI Means For Your Product Strategy And What To Do About It
Make the Right Thing the Obvious Thing at Cardinal Health 2023
Enhancing DevEx and Simplifying Operations at Scale
Spring Update | July 2023
Platforms, Platform Engineering, & Platform as a Product
Building Cloud Ready Apps
Spring Boot 3 And Beyond
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
tanzu_developer_connect.pptx
Tanzu Virtual Developer Connect Workshop - French
Tanzu Developer Connect Workshop - English
Virtual Developer Connect Workshop - English
Tanzu Developer Connect - French
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
SpringOne Tour: The Influential Software Engineer
SpringOne Tour: Domain-Driven Design: Theory vs Practice

Recently uploaded (20)

PDF
CloudStack 4.21: First Look Webinar slides
PDF
Five Habits of High-Impact Board Members
PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PPT
Geologic Time for studying geology for geologist
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PDF
4 layer Arch & Reference Arch of IoT.pdf
PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PDF
UiPath Agentic Automation session 1: RPA to Agents
PPTX
TEXTILE technology diploma scope and career opportunities
DOCX
search engine optimization ppt fir known well about this
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PPTX
Modernising the Digital Integration Hub
PPTX
Configure Apache Mutual Authentication
DOCX
Basics of Cloud Computing - Cloud Ecosystem
CloudStack 4.21: First Look Webinar slides
Five Habits of High-Impact Board Members
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
A contest of sentiment analysis: k-nearest neighbor versus neural network
Geologic Time for studying geology for geologist
Taming the Chaos: How to Turn Unstructured Data into Decisions
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Module 1.ppt Iot fundamentals and Architecture
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
4 layer Arch & Reference Arch of IoT.pdf
Enhancing plagiarism detection using data pre-processing and machine learning...
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
A proposed approach for plagiarism detection in Myanmar Unicode text
UiPath Agentic Automation session 1: RPA to Agents
TEXTILE technology diploma scope and career opportunities
search engine optimization ppt fir known well about this
Consumable AI The What, Why & How for Small Teams.pdf
Modernising the Digital Integration Hub
Configure Apache Mutual Authentication
Basics of Cloud Computing - Cloud Ecosystem

Serverless Spring - Nate Schutta 2/2