SlideShare uma empresa Scribd logo
1 de 43
Event-driven programming: are
we ready for the paradigm shift?
Ben Kehoe @ben11kehoe
Cloud Robotics Research Scientist
iRobot Confidential 2017 | 2
Any headline that ends in a question mark
can be answered by the word no.
Betteridge's Law of Headlines
iRobot 2017 | 3@ben11kehoe
• Cloud Robotics Research Scientist at
iRobot
• My life is buzzwords
About me
iRobot 2017 | 4@ben11kehoe
http://www.gartner.com/newsroom/id/3114217
iRobot 2017 | 5@ben11kehoe
Cloud Robotics:
Connecting robots to the
internet to help them do
more and better things
Buzzwords
iRobot 2017 | 6@ben11kehoe
• Cloud Robotics Research Scientist at
iRobot
• My life is buzzwords
• Serverless evangelist
• AWS Community Hero
• PhD from UC Berkeley
• Cloud robotics
• Grasping
• Surgical robotics
• Collaborative UAVs
̶ CRDTs
• Infosys, stage carpentry
About me
iRobot 2017 | 7@ben11kehoe
iRobot
iRobot 2017 | 8@ben11kehoe
• 2015: Roomba 980
• Internet connected
• Systematic navigation
• Business already at scale
• Millions of robots per year
• Recently passed 20 million robots sold
• Connected across Roomba models
iRobot
iRobot 2017 | 9@ben11kehoe
iRobot 2017 | 10@ben11kehoe
iRobot
iRobot 2017 | 11@ben11kehoe
iRobot
iRobot 2017 | 12@ben11kehoe
• Consumer IoT
Smart Home
iRobot 2017 | 13@ben11kehoe
Event-driven
programming
1
iRobot Confidential 2017 | 14
Is serverless synonymous with event-driven
programming?
No.
iRobot 2017 | 15@ben11kehoe
Serverless is more than just image thumbnailing
iRobot 2017 | 16@ben11kehoe
• Robots need to upload files to the cloud
• They don't have SigV4 credentials
iRobot example:
iRobot 2017 | 17@ben11kehoe
Serverless Event-driven
iRobot Confidential 2017 | 18
What are the primitives, patterns, and
platforms that will make event-driven
programming easy?
Cornelia Davis at Emit 2017
iRobot Confidential 2017 | 19
Functions and events? Maybe. I haven't got
a clue.
Cornelia Davis at Emit 2017
iRobot 2017 | 20@ben11kehoe
• CQRS: Command/Query Responsibility
Separation
• Separate R from CUD
• Event sourcing
• One unified immutable write log, many
readers with their own materialized views
• Shopping cart
• Deployment
• Mixed architecture
CQRS and event-sourcing
iRobot 2017 | 21@ben11kehoe
Serverless Event-driven
iRobot 2017 | 22@ben11kehoe
• Service support
• Amazon RDS
• HTTP query API with Lambda callback for
results
• Step Functions
Asynchronous event processing
iRobot 2017 | 23@ben11kehoe
• Store/load
• DynamoDB scale down
• Checkpointing
Serverless event-sourcing
iRobot 2017 | 24@ben11kehoe
Serverless Event-driven
iRobot 2017 | 25@ben11kehoe
• Service discovery
• Incremental deployments
• Monitoring
• Security analysis
• VPC endpoints (AWS)
Feature parity with traditional architectures
iRobot 2017 | 26@ben11kehoe
Serverless Event-driven
iRobot 2017 | 27@ben11kehoe
Serverless adoption
2
iRobot 2017 | 28@ben11kehoe
Adoption
• Serverlessconf attendees are the vanguard
• We all know it's the future, but how do we
make the future sooner?
• Meet people where they are
• Azure Functions support Batch scripts(!)
iRobot 2017 | 29@ben11kehoe
• Extend
• Events on the fringes
• Port to serverless
• Save money
• Refactor
• Simplify & strengthen
• Develop
• New features can be serverless native
• Organize
• Reverse Conway's Law
• Greenfield
• Serverless native
• Event-driven
Reality Ideal
The event-driven+serverless adoption cycle
iRobot 2017 | 30@ben11kehoe
• We're actually doing great here!
Extend
Events on the fringes
iRobot 2017 | 31@ben11kehoe
• Remember, this is taking existing code
and running it on serverless infra
• Service discovery
• Latency
• Frameworks
• Consulting/Contracting
Port
Save money
iRobot 2017 | 32@ben11kehoe
• Refactor to event-driven flows
• Refactor into serverless "style"
• Patterns and best practices
• Solve hard problems once
Refactor
Simplify and strengthen
iRobot 2017 | 33@ben11kehoe
• It's easy, it's quick
• It lets you use a web framework
• Good for adoption!
• It bloats your Lambda with web logic
• Schema checks no longer free
• It vastly increases your attack surface
• Your API is less self-documenting
Pros Cons
AWS Lambda proxy integration
A crotchety old man digression
iRobot 2017 | 34@ben11kehoe
• Answer Cornelia's questions
Develop
Go serverless native for new features
iRobot 2017 | 35@ben11kehoe
• Serverless especially, but event-driven
architecture as well, means setting
expectations is important
• Visibility
• Control
Organize
Reverse Conway's Law
iRobot 2017 | 36@ben11kehoe
Serverless in
organizations
3
iRobot 2017 | 37@ben11kehoe
• Moving from servers to serverless is a bit like
the change from on-prem to cloud
• It’s easier, in many respects, but it’s not
without its own idiosyncratic issues
• You stand on the shoulders of giants (Tim
Wagner is pretty tall), through outsourcing
these operations
• But outsourcing doesn’t mean you do zero
work
• Being clear about this organizationally is
important
DiffOps
No such thing as a free lunch
iRobot 2017 | 38@ben11kehoe
• No provider is immune to problems
• Small effects are more common than big
outages
• More services = blips could be encountered
more frequently
• This comes with the territory
• Setting expectations organizationally is
important
• Architecting robustly is key
̶ Event based
̶ Async
̶ Microservices
The cloud has weather
iRobot 2017 | 39@ben11kehoe
• Biggest operational downside: visibility
• You only know what the provider tells you
• Architecture
• Security
• Operations
• How do they actually do all of the stuff they
do?
• Many known unknowns and unknown
unknowns
• Unknown unknown unknowns: what you
don’t know that they don’t know they don’t
know
Visibility
iRobot 2017 | 40@ben11kehoe
• Serverless requires a change in mindset
• These incidents can be opaque
• Feeling out of control of your own destiny
can be frustrating
• But the truth: you’d probably not do a better
job
• And in fact, you would likely do a lot worse
• And actions still need to be taken:
• Alert management to potential impact
• Proactively reach out to customer base
• Activate cross-region failover, etc.
Reacting to platform outages
When it’s a Cloud Provider problem
When it’s the platform’s problem, we still have work to do
iRobot 2017 | 41@ben11kehoe
Wrapping up
4
iRobot Confidential 2017 | 42
Questions?

Mais conteúdo relacionado

Mais procurados

Building serverless applications with Apache OpenWhisk and IBM Cloud Functions
Building serverless applications with Apache OpenWhisk and IBM Cloud FunctionsBuilding serverless applications with Apache OpenWhisk and IBM Cloud Functions
Building serverless applications with Apache OpenWhisk and IBM Cloud FunctionsDaniel Krook
 
Workshop: Develop Serverless Applications with IBM Cloud Functions
Workshop: Develop Serverless Applications with IBM Cloud FunctionsWorkshop: Develop Serverless Applications with IBM Cloud Functions
Workshop: Develop Serverless Applications with IBM Cloud FunctionsDaniel Krook
 
Changing the Game with Cloud, Microservices, and DevOps
Changing the Game with Cloud, Microservices, and DevOps Changing the Game with Cloud, Microservices, and DevOps
Changing the Game with Cloud, Microservices, and DevOps Brian Chambers
 
APIdays Paris 2018 - A little less conversation, a little more action, Alain ...
APIdays Paris 2018 - A little less conversation, a little more action, Alain ...APIdays Paris 2018 - A little less conversation, a little more action, Alain ...
APIdays Paris 2018 - A little less conversation, a little more action, Alain ...apidays
 
Cloud-Native Roadshow - Microservices - Seattle
Cloud-Native Roadshow - Microservices - Seattle Cloud-Native Roadshow - Microservices - Seattle
Cloud-Native Roadshow - Microservices - Seattle VMware Tanzu
 
Insights on Knative and how it changes the serverless landscape
Insights on Knative and how it changes the serverless landscapeInsights on Knative and how it changes the serverless landscape
Insights on Knative and how it changes the serverless landscapeJeremias Werner
 
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...apidays
 
Migrating .NET Apps to CF, A Strategy for Enterprises
Migrating .NET Apps to CF, A Strategy for EnterprisesMigrating .NET Apps to CF, A Strategy for Enterprises
Migrating .NET Apps to CF, A Strategy for EnterprisesVMware Tanzu
 
IoT in the Cloud: Build and Unleash the Value in your Renewable Energy System
IoT in the Cloud: Build and Unleash the Value in your Renewable Energy SystemIoT in the Cloud: Build and Unleash the Value in your Renewable Energy System
IoT in the Cloud: Build and Unleash the Value in your Renewable Energy SystemMark Heckler
 
Apache OpenWhisk - KRnet 2017
Apache OpenWhisk - KRnet 2017Apache OpenWhisk - KRnet 2017
Apache OpenWhisk - KRnet 2017Jin Gi Kong
 
Going Reactive in the Land of No
Going Reactive in the Land of NoGoing Reactive in the Land of No
Going Reactive in the Land of NoLightbend
 
Serverless architectures built on an open source platform
Serverless architectures built on an open source platformServerless architectures built on an open source platform
Serverless architectures built on an open source platformDaniel Krook
 
The CNCF on Serverless
The CNCF on ServerlessThe CNCF on Serverless
The CNCF on ServerlessDaniel Krook
 
IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: Keynote
IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: KeynoteIBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: Keynote
IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: KeynoteOpenWhisk
 
Chick-fil-A: Milking the most out of thousands of kubernetes clusteres
Chick-fil-A: Milking the most out of thousands of kubernetes clusteresChick-fil-A: Milking the most out of thousands of kubernetes clusteres
Chick-fil-A: Milking the most out of thousands of kubernetes clusteresBrian Chambers
 
DON'T PANIC: GETTING YOUR INFRASTRUCTURE DRIFT UNDER CONTROL, ERAN BIBI, Firefly
DON'T PANIC: GETTING YOUR INFRASTRUCTURE DRIFT UNDER CONTROL, ERAN BIBI, FireflyDON'T PANIC: GETTING YOUR INFRASTRUCTURE DRIFT UNDER CONTROL, ERAN BIBI, Firefly
DON'T PANIC: GETTING YOUR INFRASTRUCTURE DRIFT UNDER CONTROL, ERAN BIBI, FireflyDevOpsDays Tel Aviv
 
Journey from on prem to the cloud with kubernetes
Journey from on prem to the cloud with kubernetesJourney from on prem to the cloud with kubernetes
Journey from on prem to the cloud with kubernetesLibbySchulze
 
Building serverless applications with Apache OpenWhisk
Building serverless applications with Apache OpenWhiskBuilding serverless applications with Apache OpenWhisk
Building serverless applications with Apache OpenWhiskDaniel Krook
 
The Hitchhiker’s Guide to Hybrid Connectivity
The Hitchhiker’s Guide to Hybrid ConnectivityThe Hitchhiker’s Guide to Hybrid Connectivity
The Hitchhiker’s Guide to Hybrid ConnectivityBizTalk360
 
Avoid SPOF in Cloud-native Apps
Avoid SPOF in Cloud-native AppsAvoid SPOF in Cloud-native Apps
Avoid SPOF in Cloud-native AppsThang Chung
 

Mais procurados (20)

Building serverless applications with Apache OpenWhisk and IBM Cloud Functions
Building serverless applications with Apache OpenWhisk and IBM Cloud FunctionsBuilding serverless applications with Apache OpenWhisk and IBM Cloud Functions
Building serverless applications with Apache OpenWhisk and IBM Cloud Functions
 
Workshop: Develop Serverless Applications with IBM Cloud Functions
Workshop: Develop Serverless Applications with IBM Cloud FunctionsWorkshop: Develop Serverless Applications with IBM Cloud Functions
Workshop: Develop Serverless Applications with IBM Cloud Functions
 
Changing the Game with Cloud, Microservices, and DevOps
Changing the Game with Cloud, Microservices, and DevOps Changing the Game with Cloud, Microservices, and DevOps
Changing the Game with Cloud, Microservices, and DevOps
 
APIdays Paris 2018 - A little less conversation, a little more action, Alain ...
APIdays Paris 2018 - A little less conversation, a little more action, Alain ...APIdays Paris 2018 - A little less conversation, a little more action, Alain ...
APIdays Paris 2018 - A little less conversation, a little more action, Alain ...
 
Cloud-Native Roadshow - Microservices - Seattle
Cloud-Native Roadshow - Microservices - Seattle Cloud-Native Roadshow - Microservices - Seattle
Cloud-Native Roadshow - Microservices - Seattle
 
Insights on Knative and how it changes the serverless landscape
Insights on Knative and how it changes the serverless landscapeInsights on Knative and how it changes the serverless landscape
Insights on Knative and how it changes the serverless landscape
 
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...
 
Migrating .NET Apps to CF, A Strategy for Enterprises
Migrating .NET Apps to CF, A Strategy for EnterprisesMigrating .NET Apps to CF, A Strategy for Enterprises
Migrating .NET Apps to CF, A Strategy for Enterprises
 
IoT in the Cloud: Build and Unleash the Value in your Renewable Energy System
IoT in the Cloud: Build and Unleash the Value in your Renewable Energy SystemIoT in the Cloud: Build and Unleash the Value in your Renewable Energy System
IoT in the Cloud: Build and Unleash the Value in your Renewable Energy System
 
Apache OpenWhisk - KRnet 2017
Apache OpenWhisk - KRnet 2017Apache OpenWhisk - KRnet 2017
Apache OpenWhisk - KRnet 2017
 
Going Reactive in the Land of No
Going Reactive in the Land of NoGoing Reactive in the Land of No
Going Reactive in the Land of No
 
Serverless architectures built on an open source platform
Serverless architectures built on an open source platformServerless architectures built on an open source platform
Serverless architectures built on an open source platform
 
The CNCF on Serverless
The CNCF on ServerlessThe CNCF on Serverless
The CNCF on Serverless
 
IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: Keynote
IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: KeynoteIBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: Keynote
IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: Keynote
 
Chick-fil-A: Milking the most out of thousands of kubernetes clusteres
Chick-fil-A: Milking the most out of thousands of kubernetes clusteresChick-fil-A: Milking the most out of thousands of kubernetes clusteres
Chick-fil-A: Milking the most out of thousands of kubernetes clusteres
 
DON'T PANIC: GETTING YOUR INFRASTRUCTURE DRIFT UNDER CONTROL, ERAN BIBI, Firefly
DON'T PANIC: GETTING YOUR INFRASTRUCTURE DRIFT UNDER CONTROL, ERAN BIBI, FireflyDON'T PANIC: GETTING YOUR INFRASTRUCTURE DRIFT UNDER CONTROL, ERAN BIBI, Firefly
DON'T PANIC: GETTING YOUR INFRASTRUCTURE DRIFT UNDER CONTROL, ERAN BIBI, Firefly
 
Journey from on prem to the cloud with kubernetes
Journey from on prem to the cloud with kubernetesJourney from on prem to the cloud with kubernetes
Journey from on prem to the cloud with kubernetes
 
Building serverless applications with Apache OpenWhisk
Building serverless applications with Apache OpenWhiskBuilding serverless applications with Apache OpenWhisk
Building serverless applications with Apache OpenWhisk
 
The Hitchhiker’s Guide to Hybrid Connectivity
The Hitchhiker’s Guide to Hybrid ConnectivityThe Hitchhiker’s Guide to Hybrid Connectivity
The Hitchhiker’s Guide to Hybrid Connectivity
 
Avoid SPOF in Cloud-native Apps
Avoid SPOF in Cloud-native AppsAvoid SPOF in Cloud-native Apps
Avoid SPOF in Cloud-native Apps
 

Semelhante a Serverless Event-Driven Programming: Are We Ready for the Paradigm Shift?

Aw (3) webinar serverless-fisher-rymer
Aw (3) webinar serverless-fisher-rymerAw (3) webinar serverless-fisher-rymer
Aw (3) webinar serverless-fisher-rymerVMware Tanzu
 
Stop Caring About Kubernetes
Stop Caring About KubernetesStop Caring About Kubernetes
Stop Caring About KubernetesDavid Lewis
 
From Zero to Serverless (DogFoodCon 2018)
From Zero to Serverless (DogFoodCon 2018)From Zero to Serverless (DogFoodCon 2018)
From Zero to Serverless (DogFoodCon 2018)Chad Green
 
NUS-ISS Learning Day 2018- Harnessing the power of cloud solutions in urban a...
NUS-ISS Learning Day 2018- Harnessing the power of cloud solutions in urban a...NUS-ISS Learning Day 2018- Harnessing the power of cloud solutions in urban a...
NUS-ISS Learning Day 2018- Harnessing the power of cloud solutions in urban a...NUS-ISS
 
Logic Apps and Azure Functions
Logic Apps and Azure FunctionsLogic Apps and Azure Functions
Logic Apps and Azure FunctionsDaniel Toomey
 
Implement DevOps Like a Unicorn—Even If You’re Not One
Implement DevOps Like a Unicorn—Even If You’re Not OneImplement DevOps Like a Unicorn—Even If You’re Not One
Implement DevOps Like a Unicorn—Even If You’re Not OneTechWell
 
JasperReports IO: Reporting and data visualization in a world of cloud, micro...
JasperReports IO: Reporting and data visualization in a world of cloud, micro...JasperReports IO: Reporting and data visualization in a world of cloud, micro...
JasperReports IO: Reporting and data visualization in a world of cloud, micro...TIBCO Jaspersoft
 
Managin business process in microservice architecture
Managin business process in microservice architectureManagin business process in microservice architecture
Managin business process in microservice architecturezeynelkocak
 
Het Microsoft Integratie Platform – Welk model past u het beste? (Steef Jan W...
Het Microsoft Integratie Platform – Welk model past u het beste? (Steef Jan W...Het Microsoft Integratie Platform – Welk model past u het beste? (Steef Jan W...
Het Microsoft Integratie Platform – Welk model past u het beste? (Steef Jan W...Codit
 
Cloud integration: what's in it for you? (Toon Vanhoutte & Massimo Crippa at ...
Cloud integration: what's in it for you? (Toon Vanhoutte & Massimo Crippa at ...Cloud integration: what's in it for you? (Toon Vanhoutte & Massimo Crippa at ...
Cloud integration: what's in it for you? (Toon Vanhoutte & Massimo Crippa at ...Codit
 
What is the future of DevOps and its growing trends.pptx
What is the future of DevOps and its growing trends.pptxWhat is the future of DevOps and its growing trends.pptx
What is the future of DevOps and its growing trends.pptxCalidad Infotech
 
Delivering DevOps on AWS - Transformation Day Public Sector London 2017
Delivering DevOps on AWS - Transformation Day Public Sector London 2017Delivering DevOps on AWS - Transformation Day Public Sector London 2017
Delivering DevOps on AWS - Transformation Day Public Sector London 2017Amazon Web Services
 
From Zero to Serverless (CoderCruise 2018)
From Zero to Serverless (CoderCruise 2018)From Zero to Serverless (CoderCruise 2018)
From Zero to Serverless (CoderCruise 2018)Chad Green
 
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
 Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ... Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...Weaveworks
 
From Zero to Serverless
From Zero to ServerlessFrom Zero to Serverless
From Zero to ServerlessChad Green
 
DevOpsDays 2018 - Migrating a Cloud Native App to k8s
DevOpsDays 2018 - Migrating a Cloud Native App to k8sDevOpsDays 2018 - Migrating a Cloud Native App to k8s
DevOpsDays 2018 - Migrating a Cloud Native App to k8sGökhan Şengün
 
Webinar_102317_Heffner.ppt
Webinar_102317_Heffner.pptWebinar_102317_Heffner.ppt
Webinar_102317_Heffner.pptssuserc04f7b
 
The Serverless Native Mindset
The Serverless Native MindsetThe Serverless Native Mindset
The Serverless Native MindsetBen Kehoe
 
Iot meets Serverless
Iot meets ServerlessIot meets Serverless
Iot meets ServerlessNarendran R
 

Semelhante a Serverless Event-Driven Programming: Are We Ready for the Paradigm Shift? (20)

Aw (3) webinar serverless-fisher-rymer
Aw (3) webinar serverless-fisher-rymerAw (3) webinar serverless-fisher-rymer
Aw (3) webinar serverless-fisher-rymer
 
Stop Caring About Kubernetes
Stop Caring About KubernetesStop Caring About Kubernetes
Stop Caring About Kubernetes
 
From Zero to Serverless (DogFoodCon 2018)
From Zero to Serverless (DogFoodCon 2018)From Zero to Serverless (DogFoodCon 2018)
From Zero to Serverless (DogFoodCon 2018)
 
NUS-ISS Learning Day 2018- Harnessing the power of cloud solutions in urban a...
NUS-ISS Learning Day 2018- Harnessing the power of cloud solutions in urban a...NUS-ISS Learning Day 2018- Harnessing the power of cloud solutions in urban a...
NUS-ISS Learning Day 2018- Harnessing the power of cloud solutions in urban a...
 
Logic Apps and Azure Functions
Logic Apps and Azure FunctionsLogic Apps and Azure Functions
Logic Apps and Azure Functions
 
Implement DevOps Like a Unicorn—Even If You’re Not One
Implement DevOps Like a Unicorn—Even If You’re Not OneImplement DevOps Like a Unicorn—Even If You’re Not One
Implement DevOps Like a Unicorn—Even If You’re Not One
 
JasperReports IO: Reporting and data visualization in a world of cloud, micro...
JasperReports IO: Reporting and data visualization in a world of cloud, micro...JasperReports IO: Reporting and data visualization in a world of cloud, micro...
JasperReports IO: Reporting and data visualization in a world of cloud, micro...
 
Managin business process in microservice architecture
Managin business process in microservice architectureManagin business process in microservice architecture
Managin business process in microservice architecture
 
Het Microsoft Integratie Platform – Welk model past u het beste? (Steef Jan W...
Het Microsoft Integratie Platform – Welk model past u het beste? (Steef Jan W...Het Microsoft Integratie Platform – Welk model past u het beste? (Steef Jan W...
Het Microsoft Integratie Platform – Welk model past u het beste? (Steef Jan W...
 
Cloud integration: what's in it for you? (Toon Vanhoutte & Massimo Crippa at ...
Cloud integration: what's in it for you? (Toon Vanhoutte & Massimo Crippa at ...Cloud integration: what's in it for you? (Toon Vanhoutte & Massimo Crippa at ...
Cloud integration: what's in it for you? (Toon Vanhoutte & Massimo Crippa at ...
 
What is the future of DevOps and its growing trends.pptx
What is the future of DevOps and its growing trends.pptxWhat is the future of DevOps and its growing trends.pptx
What is the future of DevOps and its growing trends.pptx
 
Delivering DevOps on AWS - Transformation Day Public Sector London 2017
Delivering DevOps on AWS - Transformation Day Public Sector London 2017Delivering DevOps on AWS - Transformation Day Public Sector London 2017
Delivering DevOps on AWS - Transformation Day Public Sector London 2017
 
From Zero to Serverless (CoderCruise 2018)
From Zero to Serverless (CoderCruise 2018)From Zero to Serverless (CoderCruise 2018)
From Zero to Serverless (CoderCruise 2018)
 
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
 Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ... Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
 
From Zero to Serverless
From Zero to ServerlessFrom Zero to Serverless
From Zero to Serverless
 
Oracle OpenWorld 2017 Review (31st October 2017 - 250 slides)
Oracle OpenWorld 2017 Review (31st October 2017 - 250 slides)Oracle OpenWorld 2017 Review (31st October 2017 - 250 slides)
Oracle OpenWorld 2017 Review (31st October 2017 - 250 slides)
 
DevOpsDays 2018 - Migrating a Cloud Native App to k8s
DevOpsDays 2018 - Migrating a Cloud Native App to k8sDevOpsDays 2018 - Migrating a Cloud Native App to k8s
DevOpsDays 2018 - Migrating a Cloud Native App to k8s
 
Webinar_102317_Heffner.ppt
Webinar_102317_Heffner.pptWebinar_102317_Heffner.ppt
Webinar_102317_Heffner.ppt
 
The Serverless Native Mindset
The Serverless Native MindsetThe Serverless Native Mindset
The Serverless Native Mindset
 
Iot meets Serverless
Iot meets ServerlessIot meets Serverless
Iot meets Serverless
 

Último

Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Dana Luther
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMartaLoveguard
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作ys8omjxb
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Sonam Pathan
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxDyna Gilbert
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Sonam Pathan
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一Fs
 
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一Fs
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITMgdsc13
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一z xss
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书zdzoqco
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Paul Calvano
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhimiss dipika
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa494f574xmv
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationLinaWolf1
 

Último (20)

Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptx
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptx
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
 
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITM
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhi
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 Documentation
 
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
 

Serverless Event-Driven Programming: Are We Ready for the Paradigm Shift?

  • 1. Event-driven programming: are we ready for the paradigm shift? Ben Kehoe @ben11kehoe Cloud Robotics Research Scientist
  • 2. iRobot Confidential 2017 | 2 Any headline that ends in a question mark can be answered by the word no. Betteridge's Law of Headlines
  • 3. iRobot 2017 | 3@ben11kehoe • Cloud Robotics Research Scientist at iRobot • My life is buzzwords About me
  • 4. iRobot 2017 | 4@ben11kehoe http://www.gartner.com/newsroom/id/3114217
  • 5. iRobot 2017 | 5@ben11kehoe Cloud Robotics: Connecting robots to the internet to help them do more and better things Buzzwords
  • 6. iRobot 2017 | 6@ben11kehoe • Cloud Robotics Research Scientist at iRobot • My life is buzzwords • Serverless evangelist • AWS Community Hero • PhD from UC Berkeley • Cloud robotics • Grasping • Surgical robotics • Collaborative UAVs ̶ CRDTs • Infosys, stage carpentry About me
  • 7. iRobot 2017 | 7@ben11kehoe iRobot
  • 8. iRobot 2017 | 8@ben11kehoe • 2015: Roomba 980 • Internet connected • Systematic navigation • Business already at scale • Millions of robots per year • Recently passed 20 million robots sold • Connected across Roomba models iRobot
  • 9. iRobot 2017 | 9@ben11kehoe
  • 10. iRobot 2017 | 10@ben11kehoe iRobot
  • 11. iRobot 2017 | 11@ben11kehoe iRobot
  • 12. iRobot 2017 | 12@ben11kehoe • Consumer IoT Smart Home
  • 13. iRobot 2017 | 13@ben11kehoe Event-driven programming 1
  • 14. iRobot Confidential 2017 | 14 Is serverless synonymous with event-driven programming? No.
  • 15. iRobot 2017 | 15@ben11kehoe Serverless is more than just image thumbnailing
  • 16. iRobot 2017 | 16@ben11kehoe • Robots need to upload files to the cloud • They don't have SigV4 credentials iRobot example:
  • 17. iRobot 2017 | 17@ben11kehoe Serverless Event-driven
  • 18. iRobot Confidential 2017 | 18 What are the primitives, patterns, and platforms that will make event-driven programming easy? Cornelia Davis at Emit 2017
  • 19. iRobot Confidential 2017 | 19 Functions and events? Maybe. I haven't got a clue. Cornelia Davis at Emit 2017
  • 20. iRobot 2017 | 20@ben11kehoe • CQRS: Command/Query Responsibility Separation • Separate R from CUD • Event sourcing • One unified immutable write log, many readers with their own materialized views • Shopping cart • Deployment • Mixed architecture CQRS and event-sourcing
  • 21. iRobot 2017 | 21@ben11kehoe Serverless Event-driven
  • 22. iRobot 2017 | 22@ben11kehoe • Service support • Amazon RDS • HTTP query API with Lambda callback for results • Step Functions Asynchronous event processing
  • 23. iRobot 2017 | 23@ben11kehoe • Store/load • DynamoDB scale down • Checkpointing Serverless event-sourcing
  • 24. iRobot 2017 | 24@ben11kehoe Serverless Event-driven
  • 25. iRobot 2017 | 25@ben11kehoe • Service discovery • Incremental deployments • Monitoring • Security analysis • VPC endpoints (AWS) Feature parity with traditional architectures
  • 26. iRobot 2017 | 26@ben11kehoe Serverless Event-driven
  • 27. iRobot 2017 | 27@ben11kehoe Serverless adoption 2
  • 28. iRobot 2017 | 28@ben11kehoe Adoption • Serverlessconf attendees are the vanguard • We all know it's the future, but how do we make the future sooner? • Meet people where they are • Azure Functions support Batch scripts(!)
  • 29. iRobot 2017 | 29@ben11kehoe • Extend • Events on the fringes • Port to serverless • Save money • Refactor • Simplify & strengthen • Develop • New features can be serverless native • Organize • Reverse Conway's Law • Greenfield • Serverless native • Event-driven Reality Ideal The event-driven+serverless adoption cycle
  • 30. iRobot 2017 | 30@ben11kehoe • We're actually doing great here! Extend Events on the fringes
  • 31. iRobot 2017 | 31@ben11kehoe • Remember, this is taking existing code and running it on serverless infra • Service discovery • Latency • Frameworks • Consulting/Contracting Port Save money
  • 32. iRobot 2017 | 32@ben11kehoe • Refactor to event-driven flows • Refactor into serverless "style" • Patterns and best practices • Solve hard problems once Refactor Simplify and strengthen
  • 33. iRobot 2017 | 33@ben11kehoe • It's easy, it's quick • It lets you use a web framework • Good for adoption! • It bloats your Lambda with web logic • Schema checks no longer free • It vastly increases your attack surface • Your API is less self-documenting Pros Cons AWS Lambda proxy integration A crotchety old man digression
  • 34. iRobot 2017 | 34@ben11kehoe • Answer Cornelia's questions Develop Go serverless native for new features
  • 35. iRobot 2017 | 35@ben11kehoe • Serverless especially, but event-driven architecture as well, means setting expectations is important • Visibility • Control Organize Reverse Conway's Law
  • 36. iRobot 2017 | 36@ben11kehoe Serverless in organizations 3
  • 37. iRobot 2017 | 37@ben11kehoe • Moving from servers to serverless is a bit like the change from on-prem to cloud • It’s easier, in many respects, but it’s not without its own idiosyncratic issues • You stand on the shoulders of giants (Tim Wagner is pretty tall), through outsourcing these operations • But outsourcing doesn’t mean you do zero work • Being clear about this organizationally is important DiffOps No such thing as a free lunch
  • 38. iRobot 2017 | 38@ben11kehoe • No provider is immune to problems • Small effects are more common than big outages • More services = blips could be encountered more frequently • This comes with the territory • Setting expectations organizationally is important • Architecting robustly is key ̶ Event based ̶ Async ̶ Microservices The cloud has weather
  • 39. iRobot 2017 | 39@ben11kehoe • Biggest operational downside: visibility • You only know what the provider tells you • Architecture • Security • Operations • How do they actually do all of the stuff they do? • Many known unknowns and unknown unknowns • Unknown unknown unknowns: what you don’t know that they don’t know they don’t know Visibility
  • 40. iRobot 2017 | 40@ben11kehoe • Serverless requires a change in mindset • These incidents can be opaque • Feeling out of control of your own destiny can be frustrating • But the truth: you’d probably not do a better job • And in fact, you would likely do a lot worse • And actions still need to be taken: • Alert management to potential impact • Proactively reach out to customer base • Activate cross-region failover, etc. Reacting to platform outages When it’s a Cloud Provider problem When it’s the platform’s problem, we still have work to do
  • 41. iRobot 2017 | 41@ben11kehoe Wrapping up 4

Notas do Editor

  1. Cloud Computing peaked around 2010, but with a 2-5 year time-to-plateau
  2. Why is iRobot sponsoring serverlessconf?
  3. Why is iRobot sponsoring serverlessconf?
  4. Cool stuff museum
  5. Why is iRobot sponsoring serverlessconf?
  6. Often conflated Synonymous with FaaS?
  7. Increased latency – kinesis empties a little slowly, but catches up More services, we see these effect more pieces of our infrastructure, may be difficult to pinpoint exactly where problems are happening
  8. AWS has an excellent commitment to security, and many certifications, but there are a lot of areas that certifications don’t cover and security details aren’t divulged
  9. The recent S3 outage was due to user error. It’s easy to play armchair hyperscale cloud operator and say you’d have prevented it.