SlideShare uma empresa Scribd logo
1 de 31
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Microservice and
Serverless Observability
CLAY SMITH, NEW RELIC
@SMITHCLAY
IMPROVING
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What’s Observability?
A measure of how well we can
understand a system from the
work it does.
“I know long all the methods in
this service take to execute.”
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What’s Instrumentation?
“This method took 25ms to execute”
Instrumentation: Measuring events in software using code.
(a type of white-box monitoring)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
1. System architectures of past, present and future
2. Collecting the right data to understand modern architectures
3. Observability requirements for modern architectures
4. Case study: AWS Lambda Observability
5. Q&A with New Relic Customer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How Did You Monitor Apps in 1967?
Attribution: Bundesarchiv, B 145 Bild-F038812-0014 / Schaack, Lothar / CC-BY-SA 3.0
1. People in lab coats looking
at blinking lights.
2. ‘Autotest’ (IBM System/360)
• Status print-outs at
different points during
program execution
• Main storage print-out
in the event of failure (!)
• ‘Automatic patch card
inclusion’ (?)
Source: IBM System/360 Programmer’s Basic Operating
System Programmer’s Guide (September 1967)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Good News: We Don’t Have to Wear
Lab Coats Anymore
Attribution: Flickr / Heisenberg Media/8408215473 / CC-BY-SA 3.0
1. People in jeans and hoodies
looking at screens
2. Various types of machine data
from different sources
• Infrastructure
• Backend Apps and Services
• … Mobile, Browser,
IoT, Edge, etc.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Software Architecture Continues to Change
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
It’s Globally Distributed in Multiple Regions
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
And Compute Is Getting Physically Closer with
Edge Computing and IoT
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The Architecture Is Also Extremely Dynamic
Docker container lifespan in minutes (1-100), New Relic April 2017
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
More New Relic Customers
Run Complex, Distributed Systems
New Relic Service Map of Reference Telco Architecture
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Good Data Can Help with the Technical Shift
to New Systems
• Improved debugging and troubleshooting
• Designs validated with data
• Reduced defects, more issues caught
proactively
• Improved feature velocity
Technical
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Good Data Can Help with the Cultural Shift to
New Systems
• Builds transparency across teams
• Shared understanding of complex components
• Decisions not (entirely) driven or explained by
‘gut-feelings’ or guessing
• Freedom to experiment
• Blameless culture
• ‘Context not control’
Cultural
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Instrumentation
Increases
Observability
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How Do We Make
Microservices and Serverless
Functions Observable?
But...
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
#1: Observable Systems Should Emit Events:
Metrics, Logs, and Traces
16
“The database won’t start after the update.”
“Our application is 35% slower than last week
after this configuration change.”
“What are the dependencies for this service?”
Logs
Metrics
Traces
New Relic Provides
*via Partner
Integrations
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
#2: All Components (Not Just Critical Services!)
Should Be Instrumented
BrowserMobile
Server (Virtual)
Hardware and
Managed Services
Host Operating
System and
Containers
Application
Amazon EC2 Instance
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
#3: Instrumentation Should Not Be Opt-in,
Manual, or ‘Hard to Do’
On-Premises
Web
Server
On Premises
Relational Data
Synthetic
customers
Customers
Public Cloud
Micro Services
API
Browser
Apps
Mobile
NoSQL
Data Store
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Lambda Case Study
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Which Monitoring Batteries Are Included?
Amazon Cloudwatch Metrics
Amazon Cloudwatch Logs
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Lambda: Key Metrics
1. Invocations
2. Errors
3. Dead Letter Error
4. Duration
5. Throttles
6. Iterator Age (stream-based invocations only)
http://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions-metrics.html
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What Else Provides AWS Lambda Observability?
AWS X-Ray
Request tracing for many AWS-managed services.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS X-Ray Trace: Example
A “cold start” trace initiated from in AWS X-Ray. Annotations in red.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Warm Start in an X-Ray Trace
Note the function executes almost immediately after the service
receives the request.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Traces In Aggregate Show Interesting Trends
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Serverless Architecture for Aggregating Traces
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What Does the Data Show in Insights?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A-ha Moment: It Was Under-provisioned
with Memory!
Memory: 768mb
Memory: 1152mb
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lessons Learned
• Instrument for observability: “What are the internal
lambda service latencies for my function?”
• Find the right balance of metrics, logs, and
traces for a given system: “Over 24 hours what’s
the distribution of function duration for my function?”
• Use analytics to diagnose: “Are cold starts
significant, what other factors are at play?”
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Q&A with Marcus Irven, Scripps Network
Serverless Architectures in Production
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
THANK YOU!
CLAY SMITH, NEW RELIC
TWITTER: @SMITHCLAY

Mais conteúdo relacionado

Mais procurados

Can you process 10 trillion logs per day software architecture conference 2015
Can you process 10 trillion logs per day software architecture conference 2015Can you process 10 trillion logs per day software architecture conference 2015
Can you process 10 trillion logs per day software architecture conference 2015
Sumo Logic
 

Mais procurados (20)

Deliver Your Agency Mission Faster With cloud.gov | AWS Public Sector Summit...
 Deliver Your Agency Mission Faster With cloud.gov | AWS Public Sector Summit... Deliver Your Agency Mission Faster With cloud.gov | AWS Public Sector Summit...
Deliver Your Agency Mission Faster With cloud.gov | AWS Public Sector Summit...
 
Architecture: Manual vs. Automation
Architecture: Manual vs. AutomationArchitecture: Manual vs. Automation
Architecture: Manual vs. Automation
 
Strategies on How to Overcome Security Challenges Unique to Cloud-Native Apps
Strategies on How to Overcome Security Challenges Unique to Cloud-Native AppsStrategies on How to Overcome Security Challenges Unique to Cloud-Native Apps
Strategies on How to Overcome Security Challenges Unique to Cloud-Native Apps
 
The Journey from Monolith to Microservices: a Guided Adventure
The Journey from Monolith to Microservices: a Guided AdventureThe Journey from Monolith to Microservices: a Guided Adventure
The Journey from Monolith to Microservices: a Guided Adventure
 
Adding the Sec to Your DevOps Pipelines (SEC332-R1) - AWS re:Invent 2018
Adding the Sec to Your DevOps Pipelines (SEC332-R1) - AWS re:Invent 2018Adding the Sec to Your DevOps Pipelines (SEC332-R1) - AWS re:Invent 2018
Adding the Sec to Your DevOps Pipelines (SEC332-R1) - AWS re:Invent 2018
 
AWS re:Invent 2016: Introduction to AWS IoT in the Cloud (IOT204)
AWS re:Invent 2016: Introduction to AWS IoT in the Cloud (IOT204)AWS re:Invent 2016: Introduction to AWS IoT in the Cloud (IOT204)
AWS re:Invent 2016: Introduction to AWS IoT in the Cloud (IOT204)
 
Can you process 10 trillion logs per day software architecture conference 2015
Can you process 10 trillion logs per day software architecture conference 2015Can you process 10 trillion logs per day software architecture conference 2015
Can you process 10 trillion logs per day software architecture conference 2015
 
The Journey to Becoming Cloud Native – A Three Step Path to Modernizing Appli...
The Journey to Becoming Cloud Native – A Three Step Path to Modernizing Appli...The Journey to Becoming Cloud Native – A Three Step Path to Modernizing Appli...
The Journey to Becoming Cloud Native – A Three Step Path to Modernizing Appli...
 
Security and DevOps: Agility and Teamwork - SID315 - re:Invent 2017
Security and DevOps: Agility and Teamwork - SID315 - re:Invent 2017Security and DevOps: Agility and Teamwork - SID315 - re:Invent 2017
Security and DevOps: Agility and Teamwork - SID315 - re:Invent 2017
 
DevOps at Scale: How Datadog is using AWS and PagerDuty to Keep Pace with Gr...
DevOps at Scale:  How Datadog is using AWS and PagerDuty to Keep Pace with Gr...DevOps at Scale:  How Datadog is using AWS and PagerDuty to Keep Pace with Gr...
DevOps at Scale: How Datadog is using AWS and PagerDuty to Keep Pace with Gr...
 
Security Validation through Continuous Delivery at Verizon - DEV403 - re:Inve...
Security Validation through Continuous Delivery at Verizon - DEV403 - re:Inve...Security Validation through Continuous Delivery at Verizon - DEV403 - re:Inve...
Security Validation through Continuous Delivery at Verizon - DEV403 - re:Inve...
 
Amazon WorkSpaces for Regulated Industries (BAP211) - AWS re:Invent 2018
Amazon WorkSpaces for Regulated Industries (BAP211) - AWS re:Invent 2018Amazon WorkSpaces for Regulated Industries (BAP211) - AWS re:Invent 2018
Amazon WorkSpaces for Regulated Industries (BAP211) - AWS re:Invent 2018
 
Chaos Engineering
Chaos EngineeringChaos Engineering
Chaos Engineering
 
Five New Security Automation Improvements You Can Make by Using Amazon CloudW...
Five New Security Automation Improvements You Can Make by Using Amazon CloudW...Five New Security Automation Improvements You Can Make by Using Amazon CloudW...
Five New Security Automation Improvements You Can Make by Using Amazon CloudW...
 
Protect Your Web Applications from Common Attack Vectors Using AWS WAF - SID3...
Protect Your Web Applications from Common Attack Vectors Using AWS WAF - SID3...Protect Your Web Applications from Common Attack Vectors Using AWS WAF - SID3...
Protect Your Web Applications from Common Attack Vectors Using AWS WAF - SID3...
 
zenbanx security use case - Toronto FSI Symposium - October 2016
zenbanx security use case - Toronto FSI Symposium - October 2016zenbanx security use case - Toronto FSI Symposium - October 2016
zenbanx security use case - Toronto FSI Symposium - October 2016
 
Best Practices for Securing Serverless Applications (SEC362-R1) - AWS re:Inve...
Best Practices for Securing Serverless Applications (SEC362-R1) - AWS re:Inve...Best Practices for Securing Serverless Applications (SEC362-R1) - AWS re:Inve...
Best Practices for Securing Serverless Applications (SEC362-R1) - AWS re:Inve...
 
What’s New for Amazon DynamoDB - 2018 Q1 Update - AWS Online Tech Talks
What’s New for Amazon DynamoDB - 2018 Q1 Update - AWS Online Tech TalksWhat’s New for Amazon DynamoDB - 2018 Q1 Update - AWS Online Tech Talks
What’s New for Amazon DynamoDB - 2018 Q1 Update - AWS Online Tech Talks
 
SplunkLive! Customer Presentation--ServiceNow
SplunkLive! Customer Presentation--ServiceNowSplunkLive! Customer Presentation--ServiceNow
SplunkLive! Customer Presentation--ServiceNow
 
Continuous Integration Best Practices for Software Development Teams - AWS On...
Continuous Integration Best Practices for Software Development Teams - AWS On...Continuous Integration Best Practices for Software Development Teams - AWS On...
Continuous Integration Best Practices for Software Development Teams - AWS On...
 

Semelhante a SRV210 Improving Microservice and Serverless Observability with Monitoring Data

100 Billion Data Points With Lambda_AWSPSSummit_Singapore
100 Billion Data Points With Lambda_AWSPSSummit_Singapore100 Billion Data Points With Lambda_AWSPSSummit_Singapore
100 Billion Data Points With Lambda_AWSPSSummit_Singapore
Amazon Web Services
 
How to Build Scalable Serverless Applications
How to Build Scalable Serverless ApplicationsHow to Build Scalable Serverless Applications
How to Build Scalable Serverless Applications
Amazon Web Services
 

Semelhante a SRV210 Improving Microservice and Serverless Observability with Monitoring Data (20)

Improving Microservice and Serverless Observability with Monitoring Data - SR...
Improving Microservice and Serverless Observability with Monitoring Data - SR...Improving Microservice and Serverless Observability with Monitoring Data - SR...
Improving Microservice and Serverless Observability with Monitoring Data - SR...
 
Keys to Successfully Monitoring and Optimizing Innovative and Sophisticated C...
Keys to Successfully Monitoring and Optimizing Innovative and Sophisticated C...Keys to Successfully Monitoring and Optimizing Innovative and Sophisticated C...
Keys to Successfully Monitoring and Optimizing Innovative and Sophisticated C...
 
Introduction to the Serverless Cloud
Introduction to the Serverless CloudIntroduction to the Serverless Cloud
Introduction to the Serverless Cloud
 
Serverless: State of The Union I AWS Dev Day 2018
Serverless: State of The Union I AWS Dev Day 2018Serverless: State of The Union I AWS Dev Day 2018
Serverless: State of The Union I AWS Dev Day 2018
 
CON320_Monitoring, Logging and Debugging Containerized Services
CON320_Monitoring, Logging and Debugging Containerized ServicesCON320_Monitoring, Logging and Debugging Containerized Services
CON320_Monitoring, Logging and Debugging Containerized Services
 
What's New in Serverless
What's New in ServerlessWhat's New in Serverless
What's New in Serverless
 
100 Billion Data Points With Lambda_AWSPSSummit_Singapore
100 Billion Data Points With Lambda_AWSPSSummit_Singapore100 Billion Data Points With Lambda_AWSPSSummit_Singapore
100 Billion Data Points With Lambda_AWSPSSummit_Singapore
 
Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...
Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...
Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...
 
Building a Real-Time Data Platform on AWS
Building a Real-Time Data Platform on AWSBuilding a Real-Time Data Platform on AWS
Building a Real-Time Data Platform on AWS
 
What's New in Serverless - SRV305 - re:Invent 2017
What's New in Serverless - SRV305 - re:Invent 2017What's New in Serverless - SRV305 - re:Invent 2017
What's New in Serverless - SRV305 - re:Invent 2017
 
Serverless - State of the Union
Serverless - State of the UnionServerless - State of the Union
Serverless - State of the Union
 
ABD335_Real-Time Anomaly Detection Using Amazon Kinesis
ABD335_Real-Time Anomaly Detection Using Amazon KinesisABD335_Real-Time Anomaly Detection Using Amazon Kinesis
ABD335_Real-Time Anomaly Detection Using Amazon Kinesis
 
Innovations fueled by IoT and the Cloud
Innovations fueled by IoT and the CloudInnovations fueled by IoT and the Cloud
Innovations fueled by IoT and the Cloud
 
How to Build Scalable Serverless Applications
How to Build Scalable Serverless ApplicationsHow to Build Scalable Serverless Applications
How to Build Scalable Serverless Applications
 
STG401_This Is My Architecture
STG401_This Is My ArchitectureSTG401_This Is My Architecture
STG401_This Is My Architecture
 
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech TalksAWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
 
NEW LAUNCH! AWS IoT Analytics from Consumer IoT to Industrial IoT - IOT211 - ...
NEW LAUNCH! AWS IoT Analytics from Consumer IoT to Industrial IoT - IOT211 - ...NEW LAUNCH! AWS IoT Analytics from Consumer IoT to Industrial IoT - IOT211 - ...
NEW LAUNCH! AWS IoT Analytics from Consumer IoT to Industrial IoT - IOT211 - ...
 
ARC207_Monitoring Performance of Enterprise Applications on AWS
ARC207_Monitoring Performance of Enterprise Applications on AWSARC207_Monitoring Performance of Enterprise Applications on AWS
ARC207_Monitoring Performance of Enterprise Applications on AWS
 
Easy and Scalable Log Analytics with Amazon Elasticsearch Service - ABD326 - ...
Easy and Scalable Log Analytics with Amazon Elasticsearch Service - ABD326 - ...Easy and Scalable Log Analytics with Amazon Elasticsearch Service - ABD326 - ...
Easy and Scalable Log Analytics with Amazon Elasticsearch Service - ABD326 - ...
 
How to: Avoid Mistakes at Scale
How to: Avoid Mistakes at ScaleHow to: Avoid Mistakes at Scale
How to: Avoid Mistakes at Scale
 

Mais de New Relic

Mais de New Relic (20)

7 Tips & Tricks to Having Happy Customers at Scale
7 Tips & Tricks to Having Happy Customers at Scale7 Tips & Tricks to Having Happy Customers at Scale
7 Tips & Tricks to Having Happy Customers at Scale
 
7 Tips & Tricks to Having Happy Customers at Scale
7 Tips & Tricks to Having Happy Customers at Scale7 Tips & Tricks to Having Happy Customers at Scale
7 Tips & Tricks to Having Happy Customers at Scale
 
New Relic University at Future Stack Tokyo 2019
New Relic University at Future Stack Tokyo 2019New Relic University at Future Stack Tokyo 2019
New Relic University at Future Stack Tokyo 2019
 
FutureStack Tokyo 19 -[事例講演]株式会社リクルートライフスタイル:年間9300万件以上のサロン予約を支えるホットペッパービューティ...
FutureStack Tokyo 19 -[事例講演]株式会社リクルートライフスタイル:年間9300万件以上のサロン予約を支えるホットペッパービューティ...FutureStack Tokyo 19 -[事例講演]株式会社リクルートライフスタイル:年間9300万件以上のサロン予約を支えるホットペッパービューティ...
FutureStack Tokyo 19 -[事例講演]株式会社リクルートライフスタイル:年間9300万件以上のサロン予約を支えるホットペッパービューティ...
 
FutureStack Tokyo 19 -[New Relic テクニカル講演]モニタリングと可視化がデジタルトランスフォーメーションを救う! - サ...
FutureStack  Tokyo 19 -[New Relic テクニカル講演]モニタリングと可視化がデジタルトランスフォーメーションを救う! - サ...FutureStack  Tokyo 19 -[New Relic テクニカル講演]モニタリングと可視化がデジタルトランスフォーメーションを救う! - サ...
FutureStack Tokyo 19 -[New Relic テクニカル講演]モニタリングと可視化がデジタルトランスフォーメーションを救う! - サ...
 
FutureStack Tokyo 19 -[特別講演]システム開発によろこびと驚きの連鎖を
FutureStack Tokyo 19 -[特別講演]システム開発によろこびと驚きの連鎖をFutureStack Tokyo 19 -[特別講演]システム開発によろこびと驚きの連鎖を
FutureStack Tokyo 19 -[特別講演]システム開発によろこびと驚きの連鎖を
 
FutureStack Tokyo 19 -[パートナー講演]アマゾン ウェブ サービス ジャパン株式会社: New Relicを活用したAWSへのアプリ...
FutureStack Tokyo 19 -[パートナー講演]アマゾン ウェブ サービス ジャパン株式会社: New Relicを活用したAWSへのアプリ...FutureStack Tokyo 19 -[パートナー講演]アマゾン ウェブ サービス ジャパン株式会社: New Relicを活用したAWSへのアプリ...
FutureStack Tokyo 19 -[パートナー講演]アマゾン ウェブ サービス ジャパン株式会社: New Relicを活用したAWSへのアプリ...
 
FutureStack Tokyo 19_インサイトとデータを組織の力にする_株式会社ドワンゴ 池田 明啓 氏
FutureStack Tokyo 19_インサイトとデータを組織の力にする_株式会社ドワンゴ 池田 明啓 氏FutureStack Tokyo 19_インサイトとデータを組織の力にする_株式会社ドワンゴ 池田 明啓 氏
FutureStack Tokyo 19_インサイトとデータを組織の力にする_株式会社ドワンゴ 池田 明啓 氏
 
Three Monitoring Mistakes and How to Avoid Them
Three Monitoring Mistakes and How to Avoid ThemThree Monitoring Mistakes and How to Avoid Them
Three Monitoring Mistakes and How to Avoid Them
 
Intro to Multidimensional Kubernetes Monitoring
Intro to Multidimensional Kubernetes MonitoringIntro to Multidimensional Kubernetes Monitoring
Intro to Multidimensional Kubernetes Monitoring
 
FS18 Chicago Keynote
FS18 Chicago Keynote FS18 Chicago Keynote
FS18 Chicago Keynote
 
SRE-iously
SRE-iouslySRE-iously
SRE-iously
 
10 Things You Can Do With New Relic - Number 9 Will Shock You
10 Things You Can Do With New Relic - Number 9 Will Shock You10 Things You Can Do With New Relic - Number 9 Will Shock You
10 Things You Can Do With New Relic - Number 9 Will Shock You
 
Ground Rules for Code Reviews
Ground Rules for Code ReviewsGround Rules for Code Reviews
Ground Rules for Code Reviews
 
Understanding Microservice Latency for DevOps Teams: An Introduction to New R...
Understanding Microservice Latency for DevOps Teams: An Introduction to New R...Understanding Microservice Latency for DevOps Teams: An Introduction to New R...
Understanding Microservice Latency for DevOps Teams: An Introduction to New R...
 
Monitor all your Kubernetes and EKS stack with New Relic
Monitor all your Kubernetes and EKS stack with New Relic	Monitor all your Kubernetes and EKS stack with New Relic
Monitor all your Kubernetes and EKS stack with New Relic
 
Host for the Most: Cloud Cost Optimization
Host for the Most: Cloud Cost OptimizationHost for the Most: Cloud Cost Optimization
Host for the Most: Cloud Cost Optimization
 
New Relic Infrastructure in the Real World: AWS
New Relic Infrastructure in the Real World: AWSNew Relic Infrastructure in the Real World: AWS
New Relic Infrastructure in the Real World: AWS
 
Best Practices for Measuring your Code Pipeline
Best Practices for Measuring your Code PipelineBest Practices for Measuring your Code Pipeline
Best Practices for Measuring your Code Pipeline
 
Top Three Mistakes People Make with Monitoring
Top Three Mistakes People Make with MonitoringTop Three Mistakes People Make with Monitoring
Top Three Mistakes People Make with Monitoring
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 

SRV210 Improving Microservice and Serverless Observability with Monitoring Data

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Microservice and Serverless Observability CLAY SMITH, NEW RELIC @SMITHCLAY IMPROVING
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What’s Observability? A measure of how well we can understand a system from the work it does. “I know long all the methods in this service take to execute.”
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What’s Instrumentation? “This method took 25ms to execute” Instrumentation: Measuring events in software using code. (a type of white-box monitoring)
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda 1. System architectures of past, present and future 2. Collecting the right data to understand modern architectures 3. Observability requirements for modern architectures 4. Case study: AWS Lambda Observability 5. Q&A with New Relic Customer
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. How Did You Monitor Apps in 1967? Attribution: Bundesarchiv, B 145 Bild-F038812-0014 / Schaack, Lothar / CC-BY-SA 3.0 1. People in lab coats looking at blinking lights. 2. ‘Autotest’ (IBM System/360) • Status print-outs at different points during program execution • Main storage print-out in the event of failure (!) • ‘Automatic patch card inclusion’ (?) Source: IBM System/360 Programmer’s Basic Operating System Programmer’s Guide (September 1967)
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Good News: We Don’t Have to Wear Lab Coats Anymore Attribution: Flickr / Heisenberg Media/8408215473 / CC-BY-SA 3.0 1. People in jeans and hoodies looking at screens 2. Various types of machine data from different sources • Infrastructure • Backend Apps and Services • … Mobile, Browser, IoT, Edge, etc.
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Software Architecture Continues to Change
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. It’s Globally Distributed in Multiple Regions
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. And Compute Is Getting Physically Closer with Edge Computing and IoT
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The Architecture Is Also Extremely Dynamic Docker container lifespan in minutes (1-100), New Relic April 2017
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. More New Relic Customers Run Complex, Distributed Systems New Relic Service Map of Reference Telco Architecture
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Good Data Can Help with the Technical Shift to New Systems • Improved debugging and troubleshooting • Designs validated with data • Reduced defects, more issues caught proactively • Improved feature velocity Technical
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Good Data Can Help with the Cultural Shift to New Systems • Builds transparency across teams • Shared understanding of complex components • Decisions not (entirely) driven or explained by ‘gut-feelings’ or guessing • Freedom to experiment • Blameless culture • ‘Context not control’ Cultural
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Instrumentation Increases Observability
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. How Do We Make Microservices and Serverless Functions Observable? But...
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. #1: Observable Systems Should Emit Events: Metrics, Logs, and Traces 16 “The database won’t start after the update.” “Our application is 35% slower than last week after this configuration change.” “What are the dependencies for this service?” Logs Metrics Traces New Relic Provides *via Partner Integrations
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. #2: All Components (Not Just Critical Services!) Should Be Instrumented BrowserMobile Server (Virtual) Hardware and Managed Services Host Operating System and Containers Application Amazon EC2 Instance
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. #3: Instrumentation Should Not Be Opt-in, Manual, or ‘Hard to Do’ On-Premises Web Server On Premises Relational Data Synthetic customers Customers Public Cloud Micro Services API Browser Apps Mobile NoSQL Data Store
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Lambda Case Study
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Which Monitoring Batteries Are Included? Amazon Cloudwatch Metrics Amazon Cloudwatch Logs
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Lambda: Key Metrics 1. Invocations 2. Errors 3. Dead Letter Error 4. Duration 5. Throttles 6. Iterator Age (stream-based invocations only) http://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions-metrics.html
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What Else Provides AWS Lambda Observability? AWS X-Ray Request tracing for many AWS-managed services.
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS X-Ray Trace: Example A “cold start” trace initiated from in AWS X-Ray. Annotations in red.
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Warm Start in an X-Ray Trace Note the function executes almost immediately after the service receives the request.
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Traces In Aggregate Show Interesting Trends
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Serverless Architecture for Aggregating Traces
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What Does the Data Show in Insights?
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A-ha Moment: It Was Under-provisioned with Memory! Memory: 768mb Memory: 1152mb
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lessons Learned • Instrument for observability: “What are the internal lambda service latencies for my function?” • Find the right balance of metrics, logs, and traces for a given system: “Over 24 hours what’s the distribution of function duration for my function?” • Use analytics to diagnose: “Are cold starts significant, what other factors are at play?”
  • 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Q&A with Marcus Irven, Scripps Network Serverless Architectures in Production
  • 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. THANK YOU! CLAY SMITH, NEW RELIC TWITTER: @SMITHCLAY