InterCon 2016 - SLA vs Agilidade: uso de microserviços e monitoramento de cloud

iMasters
iMastersjornalista, web editor, web writer, tradutora (en-pt/pt-en) at iMasters
October
2016
First 90SLA vs. Agile
Microservices and
cloud monitoring
Why this
talk?
This is our vision
Building the foundation to Build a 3B Company by FY20
Agenda
1 . “Old World”: MercadoLivre’s original architecture.
2 . “Ground Zero”: shifting to microservices on the cloud
3 . Monitoring the cloud
4. Alarms: when things go south
5. “Fury”: streamlining DevOps at MercadoLivre
In numbers
+400 deploys/day
On +650 APPS
+1000 Developers
In 8 development centers
+10 programming
languages
In numbers
+25.000.000
Request per minute
+22.000 VM’s
In 7 data centers
+700 DB’s
In 4 different engines
Old
World
Old world architecture
User ml.jar
Huge DB
This is our vision
Building the foundation to Build a 3B Company by FY20
Old world properties
● Monolithic
● Highly coupled code
● Unified SVN repository
● Single DB
● Simple infrastructure with little overhead
● Single QA team
● Closed system
This is our vision
Building the foundation to Build a 3B Company by FY20
Deployments as ML grew
Anyone at anytime
This is our vision
Building the foundation to Build a 3B Company by FY20
Deployments as ML grew
Anyone at anytime
Some people, anytime
This is our vision
Building the foundation to Build a 3B Company by FY20
Deployments as ML grew
Anyone at anytime
Some people, anytime
Some people, once a week
This is our vision
Building the foundation to Build a 3B Company by FY20
Deployments as ML grew
Anyone at anytime
Some people, anytime
Some people, once a week
Only by all experts together, at 3 AM, on
thursdays not covered by any “freeze”
Ground
Zero
Shifting to microservices
Frontend
API
Frontend CRM
Mobile
apps
3rd party
devs
API API
This is our vision
Building the foundation to Build a 3B Company by FY20
Ground zero properties
● Multiple technologies and frameworks (dev’s choice)
● Completely decoupled code in multiple Github repositories
● One DB for each app, multiple engines
● Complex infrastructure with possible high overhead
● QA, testing and Continuous Integrations is done by each team
● Independent deployments, environments and policies
● Open platform
“With great power comes
great responsibility”.
Stan Lee
This is our vision
Building the foundation to Build a 3B Company by FY20
Developer responsibilities
● Developer gets ownership of entire dev cycle
● Massive empowerment of dev team -> OWNERSHIP
Manage
resources
VMs
Choose support systems
required and create them
Develop
Code
Choose your technology
and keep your Github
repository
Test
Create tests, regressions
or CI as needed
Ensure
quality
Define uptime
Define what “up” means for
your own app (health.sh)
Measure
Create metrics to analyze
performance and
downtime
DBs and services
Networking
Create rules and
loadbalancers to route
traffic to application
Create & scale computing
pools for dev/test/prod
React
Deploy
Write all routines for
automatically deploying
your app on any VM React to critical events
that affect your app
DevTools in ML
Developer
Melicloud API
- Create apps
- Manage pools (test/prod)
- Manage VMs & loadbalancers
- Build & deploy
- Create queues
- Create DBaaS or KVSaaS
- Create caches
Github repo
- Code app
- Write test & deploy strategy
- Write uptime definitions
Nginx
eventRouting &
OpsGenie
- Write rules to route traffic to
your pools
- Write rules to manage alarms
- Define alarm escalation
policies & schedules
- Manage contact channels
Microservices in ML
Mobile apps
Module
Test app
CI
Main app
Automated
build & store
deployment
Repo
Team
Module
Test app
CI
Repo
Team
Module
Test app
CI
Repo
Team
Monitoring mobile apps
Module
Main app
Team
Module
Module
Crash reporting
Team
Team
Monitoring
the cloud
This is our vision
Building the foundation to Build a 3B Company by FY20
New Relic
● Default monitoring in VMs golden image
● No configuration necessary (initially)
HTTP
errors
Unhandled errors
See if other devs/clients
misuse your entry params
Stack
traces
Fast debugging
See what’s going on in
production
Unified pool data
All instances’ traces in
the same place
Performance
metrics
Transaction traces
See what’s taking so long
Recognize deviations
Graphs to see if traffic or
response time vary w/
respect to another period
Unsupported params
Other services
Detect down services
affecting you
Unexpected issues
appear in production
Apdex Score
InterCon 2016 - SLA vs Agilidade: uso de microserviços e monitoramento de cloud
This is our vision
Building the foundation to Build a 3B Company by FY20
Datadog
● Easy to use for different frameworks
● Good for business specific metrics
Custom
metrics
Complex metrics
Graphs filtered with
different dimensions
Infra
monitoring
Full info
More data than NR on
disk, memory, network
Scalable
Handles well aggregating
information from many
different VMs
Real time
analysis
Fast response
Almost no latency
Dashboards
Customizable dashboards
to show what’s more
relevant for each app
Online filtering
Alarms
Flexible alarms based on
custom metrics
You can send multiple
parameters for events
InterCon 2016 - SLA vs Agilidade: uso de microserviços e monitoramento de cloud
This is our vision
Building the foundation to Build a 3B Company by FY20
Log collection
● Logs are collected by an agent on all VMs
● They are sent to an ElasticSearch
● Access via a Kibana frontend
● Developers can use special syntax to create queryable
dimensions for all logged events
● All instances’ logs in the same place
● Request tracing through multiple applications/APIs
(request_id)
InterCon 2016 - SLA vs Agilidade: uso de microserviços e monitoramento de cloud
Alarms
Unified handling of events
health.sh
Code triggered alarms
eventRouting
This is our vision
Building the foundation to Build a 3B Company by FY20
Event routing
● Rules added by each team
● Check alarm origin, type and importance
● Check “quiet hours”
● Assign escalation policy and forward to OpsGenie
This is our vision
Building the foundation to Build a 3B Company by FY20
OpsGenie
● Manage teams to deal with escalation policies
● Set “on call” schedules (w/substitutes & manager escalation)
● Everyone manages his contact methods (SMS, mail, phone call, app)
Fury
This is our vision
Building the foundation to Build a 3B Company by FY20
Evolution
Old world Ground zero Fury
This is our vision
Building the foundation to Build a 3B Company by FY20
Fury: DevOps to NoOps
● Still microservices
● Full service oriented
● Easier dev cycle and learning curve
● Pre-assembled flavors for popular frameworks
● Less bash scripts, more UI based configuration
● Auto-scaling & auto-healing
● Docker based (smaller dev/prod environment gap)
● Designed to run on AWS
● Continuous integration already included
This is our vision
Building the foundation to Build a 3B Company by FY20
Fury dashboard
This is our vision
Building the foundation to Build a 3B Company by FY20
Dev Cycle in Fury: create app
● Creates repository
● Creates Jenkins CI server
● Creates network infra
This is our vision
Building the foundation to Build a 3B Company by FY20
Dev Cycle in Fury: create scope
● Creates load balancer (ELB)
● Creates auto scaling group (ASG) for scope instances
● Creates instances
● Initialize logs & metrics services
● Download containers to instances
● Start traffic
This is our vision
Building the foundation to Build a 3B Company by FY20
Dev Cycle in Fury: deploy
● Creates ASG for new version
● Create instances for new ASG
● Initialize logs & metrics services
● Download containers to instances
● Progressive traffic switch
● If candidate is OK, destroy
previous infrastructure
InterCon 2016 - SLA vs Agilidade: uso de microserviços e monitoramento de cloud
?
Thank
you!
1 of 42

Recommended

O futuro do .NET by
O futuro do .NETO futuro do .NET
O futuro do .NETLetticia Nicoli
123 views36 slides
Social Network by
Social NetworkSocial Network
Social NetworkSiliconPrime
1.1K views28 slides
Chega de receita de bolo: gerenciando infraestrutura como código by
Chega de receita de bolo: gerenciando infraestrutura como códigoChega de receita de bolo: gerenciando infraestrutura como código
Chega de receita de bolo: gerenciando infraestrutura como códigoIgor Abade
462 views17 slides
Monitoring Big Data Systems Done "The Simple Way" - Codemotion Milan 2017 - D... by
Monitoring Big Data Systems Done "The Simple Way" - Codemotion Milan 2017 - D...Monitoring Big Data Systems Done "The Simple Way" - Codemotion Milan 2017 - D...
Monitoring Big Data Systems Done "The Simple Way" - Codemotion Milan 2017 - D...Demi Ben-Ari
158 views60 slides
Swagger 2.0: Latest and Greatest by
Swagger 2.0: Latest and GreatestSwagger 2.0: Latest and Greatest
Swagger 2.0: Latest and GreatestLaunchAny
944 views36 slides
Iterative Development with Swagger on the JDK by
Iterative Development with Swagger on the JDKIterative Development with Swagger on the JDK
Iterative Development with Swagger on the JDKSwagger API
19K views15 slides

More Related Content

What's hot

Controle do ciclo de vida do desenvolvimento de software com tfs vsts by
Controle do ciclo de vida do desenvolvimento de software com tfs  vstsControle do ciclo de vida do desenvolvimento de software com tfs  vsts
Controle do ciclo de vida do desenvolvimento de software com tfs vstsRodrigo Kono
1K views42 slides
The building blocks of the next web, from Customer Journey to UI Components. ... by
The building blocks of the next web, from Customer Journey to UI Components. ...The building blocks of the next web, from Customer Journey to UI Components. ...
The building blocks of the next web, from Customer Journey to UI Components. ...Codemotion
742 views57 slides
Writer APIs in Java faster with Swagger Inflector by
Writer APIs in Java faster with Swagger InflectorWriter APIs in Java faster with Swagger Inflector
Writer APIs in Java faster with Swagger InflectorTony Tam
2.8K views17 slides
【BS1】What’s new in visual studio 2022 and c# 10 by
【BS1】What’s new in visual studio 2022 and c# 10【BS1】What’s new in visual studio 2022 and c# 10
【BS1】What’s new in visual studio 2022 and c# 10日本マイクロソフト株式会社
697 views26 slides
Pyruvate, a reasonably fast, non-blocking, multithreaded WSGI server by
Pyruvate, a reasonably fast, non-blocking, multithreaded WSGI serverPyruvate, a reasonably fast, non-blocking, multithreaded WSGI server
Pyruvate, a reasonably fast, non-blocking, multithreaded WSGI serverPloneFoundation
309 views64 slides
Retour d’expérience sur Couchbase par James Nocentini by
Retour d’expérience sur Couchbase par James NocentiniRetour d’expérience sur Couchbase par James Nocentini
Retour d’expérience sur Couchbase par James NocentiniCocoaHeads France
5.7K views11 slides

What's hot(20)

Controle do ciclo de vida do desenvolvimento de software com tfs vsts by Rodrigo Kono
Controle do ciclo de vida do desenvolvimento de software com tfs  vstsControle do ciclo de vida do desenvolvimento de software com tfs  vsts
Controle do ciclo de vida do desenvolvimento de software com tfs vsts
Rodrigo Kono1K views
The building blocks of the next web, from Customer Journey to UI Components. ... by Codemotion
The building blocks of the next web, from Customer Journey to UI Components. ...The building blocks of the next web, from Customer Journey to UI Components. ...
The building blocks of the next web, from Customer Journey to UI Components. ...
Codemotion742 views
Writer APIs in Java faster with Swagger Inflector by Tony Tam
Writer APIs in Java faster with Swagger InflectorWriter APIs in Java faster with Swagger Inflector
Writer APIs in Java faster with Swagger Inflector
Tony Tam2.8K views
Pyruvate, a reasonably fast, non-blocking, multithreaded WSGI server by PloneFoundation
Pyruvate, a reasonably fast, non-blocking, multithreaded WSGI serverPyruvate, a reasonably fast, non-blocking, multithreaded WSGI server
Pyruvate, a reasonably fast, non-blocking, multithreaded WSGI server
PloneFoundation309 views
Retour d’expérience sur Couchbase par James Nocentini by CocoaHeads France
Retour d’expérience sur Couchbase par James NocentiniRetour d’expérience sur Couchbase par James Nocentini
Retour d’expérience sur Couchbase par James Nocentini
CocoaHeads France5.7K views
Simple REST-APIs with Dropwizard and Swagger by LeanIX GmbH
Simple REST-APIs with Dropwizard and SwaggerSimple REST-APIs with Dropwizard and Swagger
Simple REST-APIs with Dropwizard and Swagger
LeanIX GmbH29.4K views
Understanding how to use Swagger and its tools by Swagger API
Understanding how to use Swagger and its toolsUnderstanding how to use Swagger and its tools
Understanding how to use Swagger and its tools
Swagger API3.5K views
SFDC Seamless Deployment Techniques by Pawan Tyagi (2x)
SFDC Seamless Deployment TechniquesSFDC Seamless Deployment Techniques
SFDC Seamless Deployment Techniques
Pawan Tyagi (2x)1.1K views
apidays LIVE New York 2021 - API tool chain for low budget programs by Paul K... by apidays
apidays LIVE New York 2021 - API tool chain for low budget programs by Paul K...apidays LIVE New York 2021 - API tool chain for low budget programs by Paul K...
apidays LIVE New York 2021 - API tool chain for low budget programs by Paul K...
apidays32 views
Microservices in Golang by Mo'ath Qasim
Microservices in GolangMicroservices in Golang
Microservices in Golang
Mo'ath Qasim1K views
Swagger for-your-api by Tony Tam
Swagger for-your-apiSwagger for-your-api
Swagger for-your-api
Tony Tam13.3K views
Continuous delivery@LesFurets - DC Continuous delivery meetup by Raphaël Brugier
Continuous delivery@LesFurets - DC Continuous delivery meetupContinuous delivery@LesFurets - DC Continuous delivery meetup
Continuous delivery@LesFurets - DC Continuous delivery meetup
Raphaël Brugier326 views
Versioning strategy for a complex internal API (Konstantin Yakushev) by Nordic APIs
Versioning strategy for a complex internal API (Konstantin Yakushev)Versioning strategy for a complex internal API (Konstantin Yakushev)
Versioning strategy for a complex internal API (Konstantin Yakushev)
Nordic APIs593 views
WPE: Current Status and Future (Web Engines Hackfest 2018) by Igalia
WPE: Current Status and Future (Web Engines Hackfest 2018)WPE: Current Status and Future (Web Engines Hackfest 2018)
WPE: Current Status and Future (Web Engines Hackfest 2018)
Igalia126 views

Viewers also liked

Migrating solutions to microsoft azure [Mihai Tataran] by
Migrating solutions to microsoft azure [Mihai Tataran]Migrating solutions to microsoft azure [Mihai Tataran]
Migrating solutions to microsoft azure [Mihai Tataran]ITCamp
228 views28 slides
Software architecture introduction by
Software architecture introductionSoftware architecture introduction
Software architecture introductionFreddy Munandar
423 views32 slides
Отчёт НАСА с результатами тестов EmDrive by
Отчёт НАСА с результатами тестов EmDriveОтчёт НАСА с результатами тестов EmDrive
Отчёт НАСА с результатами тестов EmDriveAnatol Alizar
78.4K views34 slides
Cognitive Services APIs [Mihai Negrea] by
Cognitive Services APIs [Mihai Negrea]Cognitive Services APIs [Mihai Negrea]
Cognitive Services APIs [Mihai Negrea]ITCamp
264 views14 slides
Мутации бактерий на арене с антибиотиками by
Мутации бактерий на арене с антибиотикамиМутации бактерий на арене с антибиотиками
Мутации бактерий на арене с антибиотикамиAnatol Alizar
42K views6 slides
Qlik in Financial Services - Business Discoveries from the New World (Mumbai ... by
Qlik in Financial Services - Business Discoveries from the New World (Mumbai ...Qlik in Financial Services - Business Discoveries from the New World (Mumbai ...
Qlik in Financial Services - Business Discoveries from the New World (Mumbai ...lance slides
800 views22 slides

Viewers also liked(17)

Migrating solutions to microsoft azure [Mihai Tataran] by ITCamp
Migrating solutions to microsoft azure [Mihai Tataran]Migrating solutions to microsoft azure [Mihai Tataran]
Migrating solutions to microsoft azure [Mihai Tataran]
ITCamp228 views
Software architecture introduction by Freddy Munandar
Software architecture introductionSoftware architecture introduction
Software architecture introduction
Freddy Munandar423 views
Отчёт НАСА с результатами тестов EmDrive by Anatol Alizar
Отчёт НАСА с результатами тестов EmDriveОтчёт НАСА с результатами тестов EmDrive
Отчёт НАСА с результатами тестов EmDrive
Anatol Alizar78.4K views
Cognitive Services APIs [Mihai Negrea] by ITCamp
Cognitive Services APIs [Mihai Negrea]Cognitive Services APIs [Mihai Negrea]
Cognitive Services APIs [Mihai Negrea]
ITCamp264 views
Мутации бактерий на арене с антибиотиками by Anatol Alizar
Мутации бактерий на арене с антибиотикамиМутации бактерий на арене с антибиотиками
Мутации бактерий на арене с антибиотиками
Anatol Alizar42K views
Qlik in Financial Services - Business Discoveries from the New World (Mumbai ... by lance slides
Qlik in Financial Services - Business Discoveries from the New World (Mumbai ...Qlik in Financial Services - Business Discoveries from the New World (Mumbai ...
Qlik in Financial Services - Business Discoveries from the New World (Mumbai ...
lance slides800 views
Wikibon predictions 2017 3.0 by plburris
Wikibon predictions 2017 3.0Wikibon predictions 2017 3.0
Wikibon predictions 2017 3.0
plburris1.3K views
Mixed Reality from demo to product by Matteo Valoriani
Mixed Reality from demo to productMixed Reality from demo to product
Mixed Reality from demo to product
Matteo Valoriani2.2K views
Scaling IoT: Telemetry, Command & Control, Analytics and the Cloud by Nick Landry
Scaling IoT: Telemetry, Command & Control, Analytics and the CloudScaling IoT: Telemetry, Command & Control, Analytics and the Cloud
Scaling IoT: Telemetry, Command & Control, Analytics and the Cloud
Nick Landry1.5K views
Microsoft Cognitive Services by Anyline
Microsoft Cognitive ServicesMicrosoft Cognitive Services
Microsoft Cognitive Services
Anyline4.1K views
Building Mobile Cross-Platform Apps for iOS, Android & Windows in C# with Xam... by Nick Landry
Building Mobile Cross-Platform Apps foriOS, Android & Windows in C# with Xam...Building Mobile Cross-Platform Apps foriOS, Android & Windows in C# with Xam...
Building Mobile Cross-Platform Apps for iOS, Android & Windows in C# with Xam...
Nick Landry11.5K views
geographyalltheway.com - IB Geography - The Bradshaw Model by Richard Allaway
geographyalltheway.com - IB Geography - The Bradshaw Modelgeographyalltheway.com - IB Geography - The Bradshaw Model
geographyalltheway.com - IB Geography - The Bradshaw Model
Richard Allaway142.3K views
Hyetograph and hydrograph analysis by vivek gami
Hyetograph and hydrograph analysisHyetograph and hydrograph analysis
Hyetograph and hydrograph analysis
vivek gami48.5K views

Similar to InterCon 2016 - SLA vs Agilidade: uso de microserviços e monitoramento de cloud

Preparing for Neo - Singapore OutSystems User Group October 2022 Meetup by
Preparing for Neo - Singapore OutSystems User Group October 2022 MeetupPreparing for Neo - Singapore OutSystems User Group October 2022 Meetup
Preparing for Neo - Singapore OutSystems User Group October 2022 MeetupYashrajNayak4
65 views21 slides
Why Cloud-Native Kafka Matters: 4 Reasons to Stop Managing it Yourself by
Why Cloud-Native Kafka Matters: 4 Reasons to Stop Managing it YourselfWhy Cloud-Native Kafka Matters: 4 Reasons to Stop Managing it Yourself
Why Cloud-Native Kafka Matters: 4 Reasons to Stop Managing it YourselfDATAVERSITY
522 views32 slides
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments by
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud EnvironmentsTools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud EnvironmentsVMware Tanzu
2.4K views31 slides
Global Logic sMash Overview And Experiences by
Global Logic   sMash  Overview And  ExperiencesGlobal Logic   sMash  Overview And  Experiences
Global Logic sMash Overview And ExperiencesProject Zero
4.3K views31 slides
Building Cloud Native Applications with Oracle Autonomous Database. by
Building Cloud Native Applications with Oracle Autonomous Database.Building Cloud Native Applications with Oracle Autonomous Database.
Building Cloud Native Applications with Oracle Autonomous Database.Oracle Developers
222 views20 slides
Nyc mule soft_meetup_13_march_2021 by
Nyc mule soft_meetup_13_march_2021Nyc mule soft_meetup_13_march_2021
Nyc mule soft_meetup_13_march_2021NeerajKumar1965
675 views31 slides

Similar to InterCon 2016 - SLA vs Agilidade: uso de microserviços e monitoramento de cloud(20)

Preparing for Neo - Singapore OutSystems User Group October 2022 Meetup by YashrajNayak4
Preparing for Neo - Singapore OutSystems User Group October 2022 MeetupPreparing for Neo - Singapore OutSystems User Group October 2022 Meetup
Preparing for Neo - Singapore OutSystems User Group October 2022 Meetup
YashrajNayak465 views
Why Cloud-Native Kafka Matters: 4 Reasons to Stop Managing it Yourself by DATAVERSITY
Why Cloud-Native Kafka Matters: 4 Reasons to Stop Managing it YourselfWhy Cloud-Native Kafka Matters: 4 Reasons to Stop Managing it Yourself
Why Cloud-Native Kafka Matters: 4 Reasons to Stop Managing it Yourself
DATAVERSITY522 views
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments by VMware Tanzu
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud EnvironmentsTools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
VMware Tanzu2.4K views
Global Logic sMash Overview And Experiences by Project Zero
Global Logic   sMash  Overview And  ExperiencesGlobal Logic   sMash  Overview And  Experiences
Global Logic sMash Overview And Experiences
Project Zero4.3K views
Building Cloud Native Applications with Oracle Autonomous Database. by Oracle Developers
Building Cloud Native Applications with Oracle Autonomous Database.Building Cloud Native Applications with Oracle Autonomous Database.
Building Cloud Native Applications with Oracle Autonomous Database.
Oracle Developers222 views
Nyc mule soft_meetup_13_march_2021 by NeerajKumar1965
Nyc mule soft_meetup_13_march_2021Nyc mule soft_meetup_13_march_2021
Nyc mule soft_meetup_13_march_2021
NeerajKumar1965675 views
Google Cloud Next '22 Recap: Serverless & Data edition by Daniel Zivkovic
Google Cloud Next '22 Recap: Serverless & Data editionGoogle Cloud Next '22 Recap: Serverless & Data edition
Google Cloud Next '22 Recap: Serverless & Data edition
Daniel Zivkovic88 views
Microservice Workshop Hands On by Ram G Suri
Microservice Workshop Hands On Microservice Workshop Hands On
Microservice Workshop Hands On
Ram G Suri58 views
DevOps LA Meetup Intro to Habitat by Jessica DeVita
DevOps LA Meetup Intro to HabitatDevOps LA Meetup Intro to Habitat
DevOps LA Meetup Intro to Habitat
Jessica DeVita368 views
GCP Meetup #3 - Approaches to Cloud Native Architectures by nine
GCP Meetup #3 - Approaches to Cloud Native ArchitecturesGCP Meetup #3 - Approaches to Cloud Native Architectures
GCP Meetup #3 - Approaches to Cloud Native Architectures
nine879 views
.NET Cloud-Native Bootcamp- Los Angeles by VMware Tanzu
.NET Cloud-Native Bootcamp- Los Angeles.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles
VMware Tanzu450 views
Sukumar Nayak-Agile-DevOps-Cloud Management by Sukumar Nayak
Sukumar Nayak-Agile-DevOps-Cloud ManagementSukumar Nayak-Agile-DevOps-Cloud Management
Sukumar Nayak-Agile-DevOps-Cloud Management
Sukumar Nayak4.4K views
AWS Partner: Grindr: Aggregate, Analyze, and Act on 900M Daily API Calls by Amazon Web Services
AWS Partner: Grindr: Aggregate, Analyze, and Act on 900M Daily API CallsAWS Partner: Grindr: Aggregate, Analyze, and Act on 900M Daily API Calls
AWS Partner: Grindr: Aggregate, Analyze, and Act on 900M Daily API Calls
Amazon Web Services1.9K views
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat... by Jitendra Bafna
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
Jitendra Bafna558 views
DevOps on Oracle Cloud by Mee Nam Lee
DevOps on Oracle CloudDevOps on Oracle Cloud
DevOps on Oracle Cloud
Mee Nam Lee192 views
How to Migrate Applications Off a Mainframe by VMware Tanzu
How to Migrate Applications Off a MainframeHow to Migrate Applications Off a Mainframe
How to Migrate Applications Off a Mainframe
VMware Tanzu6.2K views
The New IT - Your Milestone Plan by WSO2
The New IT -  Your Milestone PlanThe New IT -  Your Milestone Plan
The New IT - Your Milestone Plan
WSO2914 views
Application modernization with azure PaaS and FaaS by Dileepa Rajapaksa
Application modernization with azure PaaS and FaaSApplication modernization with azure PaaS and FaaS
Application modernization with azure PaaS and FaaS
Dileepa Rajapaksa224 views
Red Hat OpenShift Container Platform Overview by James Falkner
Red Hat OpenShift Container Platform OverviewRed Hat OpenShift Container Platform Overview
Red Hat OpenShift Container Platform Overview
James Falkner16.3K views

More from iMasters

O que você precisa saber para modelar bancos de dados NoSQL - Dani Monteiro by
O que você precisa saber para modelar bancos de dados NoSQL - Dani MonteiroO que você precisa saber para modelar bancos de dados NoSQL - Dani Monteiro
O que você precisa saber para modelar bancos de dados NoSQL - Dani MonteiroiMasters
1.4K views40 slides
Postgres: wanted, beloved or dreaded? - Fabio Telles by
Postgres: wanted, beloved or dreaded? - Fabio TellesPostgres: wanted, beloved or dreaded? - Fabio Telles
Postgres: wanted, beloved or dreaded? - Fabio TellesiMasters
603 views51 slides
Por que minha query esta lenta? - Suellen Moraes by
Por que minha query esta lenta? - Suellen MoraesPor que minha query esta lenta? - Suellen Moraes
Por que minha query esta lenta? - Suellen MoraesiMasters
370 views12 slides
Relato das trincheiras: o dia a dia de uma consultoria de banco de dados - Ig... by
Relato das trincheiras: o dia a dia de uma consultoria de banco de dados - Ig...Relato das trincheiras: o dia a dia de uma consultoria de banco de dados - Ig...
Relato das trincheiras: o dia a dia de uma consultoria de banco de dados - Ig...iMasters
298 views9 slides
ORMs heróis ou vilões dentro da arquitetura de dados? - Otávio gonçalves by
ORMs heróis ou vilões dentro da arquitetura de dados? - Otávio gonçalvesORMs heróis ou vilões dentro da arquitetura de dados? - Otávio gonçalves
ORMs heróis ou vilões dentro da arquitetura de dados? - Otávio gonçalvesiMasters
324 views31 slides
SQL e NoSQL trabalhando juntos: uma comparação para obter o melhor de ambos -... by
SQL e NoSQL trabalhando juntos: uma comparação para obter o melhor de ambos -...SQL e NoSQL trabalhando juntos: uma comparação para obter o melhor de ambos -...
SQL e NoSQL trabalhando juntos: uma comparação para obter o melhor de ambos -...iMasters
1.7K views52 slides

More from iMasters(20)

O que você precisa saber para modelar bancos de dados NoSQL - Dani Monteiro by iMasters
O que você precisa saber para modelar bancos de dados NoSQL - Dani MonteiroO que você precisa saber para modelar bancos de dados NoSQL - Dani Monteiro
O que você precisa saber para modelar bancos de dados NoSQL - Dani Monteiro
iMasters1.4K views
Postgres: wanted, beloved or dreaded? - Fabio Telles by iMasters
Postgres: wanted, beloved or dreaded? - Fabio TellesPostgres: wanted, beloved or dreaded? - Fabio Telles
Postgres: wanted, beloved or dreaded? - Fabio Telles
iMasters603 views
Por que minha query esta lenta? - Suellen Moraes by iMasters
Por que minha query esta lenta? - Suellen MoraesPor que minha query esta lenta? - Suellen Moraes
Por que minha query esta lenta? - Suellen Moraes
iMasters370 views
Relato das trincheiras: o dia a dia de uma consultoria de banco de dados - Ig... by iMasters
Relato das trincheiras: o dia a dia de uma consultoria de banco de dados - Ig...Relato das trincheiras: o dia a dia de uma consultoria de banco de dados - Ig...
Relato das trincheiras: o dia a dia de uma consultoria de banco de dados - Ig...
iMasters298 views
ORMs heróis ou vilões dentro da arquitetura de dados? - Otávio gonçalves by iMasters
ORMs heróis ou vilões dentro da arquitetura de dados? - Otávio gonçalvesORMs heróis ou vilões dentro da arquitetura de dados? - Otávio gonçalves
ORMs heróis ou vilões dentro da arquitetura de dados? - Otávio gonçalves
iMasters324 views
SQL e NoSQL trabalhando juntos: uma comparação para obter o melhor de ambos -... by iMasters
SQL e NoSQL trabalhando juntos: uma comparação para obter o melhor de ambos -...SQL e NoSQL trabalhando juntos: uma comparação para obter o melhor de ambos -...
SQL e NoSQL trabalhando juntos: uma comparação para obter o melhor de ambos -...
iMasters1.7K views
Arquitetando seus dados na prática para a LGPD - Alessandra Martins by iMasters
Arquitetando seus dados na prática para a LGPD - Alessandra MartinsArquitetando seus dados na prática para a LGPD - Alessandra Martins
Arquitetando seus dados na prática para a LGPD - Alessandra Martins
iMasters3.3K views
O papel do DBA no mundo de ciência de dados e machine learning - Mauro Pichil... by iMasters
O papel do DBA no mundo de ciência de dados e machine learning - Mauro Pichil...O papel do DBA no mundo de ciência de dados e machine learning - Mauro Pichil...
O papel do DBA no mundo de ciência de dados e machine learning - Mauro Pichil...
iMasters287 views
Desenvolvimento Mobile Híbrido, Nativo ou Web: Quando usá-los - Juliana Chahoud by iMasters
Desenvolvimento Mobile Híbrido, Nativo ou Web: Quando usá-los - Juliana ChahoudDesenvolvimento Mobile Híbrido, Nativo ou Web: Quando usá-los - Juliana Chahoud
Desenvolvimento Mobile Híbrido, Nativo ou Web: Quando usá-los - Juliana Chahoud
iMasters950 views
Use MDD e faça as máquinas trabalharem para você - Andreza Leite by iMasters
 Use MDD e faça as máquinas trabalharem para você - Andreza Leite Use MDD e faça as máquinas trabalharem para você - Andreza Leite
Use MDD e faça as máquinas trabalharem para você - Andreza Leite
iMasters682 views
Entendendo os porquês do seu servidor - Talita Bernardes by iMasters
Entendendo os porquês do seu servidor - Talita BernardesEntendendo os porquês do seu servidor - Talita Bernardes
Entendendo os porquês do seu servidor - Talita Bernardes
iMasters544 views
Backend performático além do "coloca mais máquina lá" - Diana Arnos by iMasters
Backend performático além do "coloca mais máquina lá" - Diana ArnosBackend performático além do "coloca mais máquina lá" - Diana Arnos
Backend performático além do "coloca mais máquina lá" - Diana Arnos
iMasters477 views
Dicas para uma maior performance em APIs REST - Renato Groffe by iMasters
Dicas para uma maior performance em APIs REST - Renato GroffeDicas para uma maior performance em APIs REST - Renato Groffe
Dicas para uma maior performance em APIs REST - Renato Groffe
iMasters595 views
7 dicas de desempenho que equivalem por 21 - Danielle Monteiro by iMasters
7 dicas de desempenho que equivalem por 21 - Danielle Monteiro7 dicas de desempenho que equivalem por 21 - Danielle Monteiro
7 dicas de desempenho que equivalem por 21 - Danielle Monteiro
iMasters475 views
Quem se importa com acessibilidade Web? - Mauricio Maujor by iMasters
Quem se importa com acessibilidade Web? - Mauricio MaujorQuem se importa com acessibilidade Web? - Mauricio Maujor
Quem se importa com acessibilidade Web? - Mauricio Maujor
iMasters480 views
Service Mesh com Istio e Kubernetes - Wellington Figueira da Silva by iMasters
Service Mesh com Istio e Kubernetes - Wellington Figueira da SilvaService Mesh com Istio e Kubernetes - Wellington Figueira da Silva
Service Mesh com Istio e Kubernetes - Wellington Figueira da Silva
iMasters603 views
Erros: Como eles vivem, se alimentam e se reproduzem? - Augusto Pascutti by iMasters
Erros: Como eles vivem, se alimentam e se reproduzem? - Augusto PascuttiErros: Como eles vivem, se alimentam e se reproduzem? - Augusto Pascutti
Erros: Como eles vivem, se alimentam e se reproduzem? - Augusto Pascutti
iMasters559 views
Elasticidade e engenharia de banco de dados para alta performance - Rubens G... by iMasters
Elasticidade e engenharia de banco de dados para alta performance  - Rubens G...Elasticidade e engenharia de banco de dados para alta performance  - Rubens G...
Elasticidade e engenharia de banco de dados para alta performance - Rubens G...
iMasters569 views
Construindo aplicações mais confiantes - Carolina Karklis by iMasters
Construindo aplicações mais confiantes - Carolina KarklisConstruindo aplicações mais confiantes - Carolina Karklis
Construindo aplicações mais confiantes - Carolina Karklis
iMasters477 views
Monitoramento de Aplicações - Felipe Regalgo by iMasters
Monitoramento de Aplicações - Felipe RegalgoMonitoramento de Aplicações - Felipe Regalgo
Monitoramento de Aplicações - Felipe Regalgo
iMasters709 views

Recently uploaded

Transcript: The Details of Description Techniques tips and tangents on altern... by
Transcript: The Details of Description Techniques tips and tangents on altern...Transcript: The Details of Description Techniques tips and tangents on altern...
Transcript: The Details of Description Techniques tips and tangents on altern...BookNet Canada
119 views15 slides
Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa... by
Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa...Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa...
Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa...The Digital Insurer
28 views18 slides
Spesifikasi Lengkap ASUS Vivobook Go 14 by
Spesifikasi Lengkap ASUS Vivobook Go 14Spesifikasi Lengkap ASUS Vivobook Go 14
Spesifikasi Lengkap ASUS Vivobook Go 14Dot Semarang
35 views1 slide
Future of Learning - Khoong Chan Meng by
Future of Learning - Khoong Chan MengFuture of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan MengNUS-ISS
31 views7 slides
Samsung: CMM-H Tiered Memory Solution with Built-in DRAM by
Samsung: CMM-H Tiered Memory Solution with Built-in DRAMSamsung: CMM-H Tiered Memory Solution with Built-in DRAM
Samsung: CMM-H Tiered Memory Solution with Built-in DRAMCXL Forum
105 views7 slides
Java Platform Approach 1.0 - Picnic Meetup by
Java Platform Approach 1.0 - Picnic MeetupJava Platform Approach 1.0 - Picnic Meetup
Java Platform Approach 1.0 - Picnic MeetupRick Ossendrijver
25 views39 slides

Recently uploaded(20)

Transcript: The Details of Description Techniques tips and tangents on altern... by BookNet Canada
Transcript: The Details of Description Techniques tips and tangents on altern...Transcript: The Details of Description Techniques tips and tangents on altern...
Transcript: The Details of Description Techniques tips and tangents on altern...
BookNet Canada119 views
Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa... by The Digital Insurer
Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa...Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa...
Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa...
Spesifikasi Lengkap ASUS Vivobook Go 14 by Dot Semarang
Spesifikasi Lengkap ASUS Vivobook Go 14Spesifikasi Lengkap ASUS Vivobook Go 14
Spesifikasi Lengkap ASUS Vivobook Go 14
Dot Semarang35 views
Future of Learning - Khoong Chan Meng by NUS-ISS
Future of Learning - Khoong Chan MengFuture of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan Meng
NUS-ISS31 views
Samsung: CMM-H Tiered Memory Solution with Built-in DRAM by CXL Forum
Samsung: CMM-H Tiered Memory Solution with Built-in DRAMSamsung: CMM-H Tiered Memory Solution with Built-in DRAM
Samsung: CMM-H Tiered Memory Solution with Built-in DRAM
CXL Forum105 views
Combining Orchestration and Choreography for a Clean Architecture by ThomasHeinrichs1
Combining Orchestration and Choreography for a Clean ArchitectureCombining Orchestration and Choreography for a Clean Architecture
Combining Orchestration and Choreography for a Clean Architecture
ThomasHeinrichs168 views
MemVerge: Gismo (Global IO-free Shared Memory Objects) by CXL Forum
MemVerge: Gismo (Global IO-free Shared Memory Objects)MemVerge: Gismo (Global IO-free Shared Memory Objects)
MemVerge: Gismo (Global IO-free Shared Memory Objects)
CXL Forum112 views
"Role of a CTO in software outsourcing company", Yuriy Nakonechnyy by Fwdays
"Role of a CTO in software outsourcing company", Yuriy Nakonechnyy"Role of a CTO in software outsourcing company", Yuriy Nakonechnyy
"Role of a CTO in software outsourcing company", Yuriy Nakonechnyy
Fwdays40 views
"Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad... by Fwdays
"Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad..."Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad...
"Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad...
Fwdays40 views
The details of description: Techniques, tips, and tangents on alternative tex... by BookNet Canada
The details of description: Techniques, tips, and tangents on alternative tex...The details of description: Techniques, tips, and tangents on alternative tex...
The details of description: Techniques, tips, and tangents on alternative tex...
BookNet Canada110 views
"How we switched to Kanban and how it integrates with product planning", Vady... by Fwdays
"How we switched to Kanban and how it integrates with product planning", Vady..."How we switched to Kanban and how it integrates with product planning", Vady...
"How we switched to Kanban and how it integrates with product planning", Vady...
Fwdays61 views
"Fast Start to Building on AWS", Igor Ivaniuk by Fwdays
"Fast Start to Building on AWS", Igor Ivaniuk"Fast Start to Building on AWS", Igor Ivaniuk
"Fast Start to Building on AWS", Igor Ivaniuk
Fwdays36 views
Microchip: CXL Use Cases and Enabling Ecosystem by CXL Forum
Microchip: CXL Use Cases and Enabling EcosystemMicrochip: CXL Use Cases and Enabling Ecosystem
Microchip: CXL Use Cases and Enabling Ecosystem
CXL Forum129 views
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu... by NUS-ISS
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
NUS-ISS32 views
AMD: 4th Generation EPYC CXL Demo by CXL Forum
AMD: 4th Generation EPYC CXL DemoAMD: 4th Generation EPYC CXL Demo
AMD: 4th Generation EPYC CXL Demo
CXL Forum126 views
PharoJS - Zürich Smalltalk Group Meetup November 2023 by Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi113 views
MemVerge: Memory Viewer Software by CXL Forum
MemVerge: Memory Viewer SoftwareMemVerge: Memory Viewer Software
MemVerge: Memory Viewer Software
CXL Forum118 views
Liqid: Composable CXL Preview by CXL Forum
Liqid: Composable CXL PreviewLiqid: Composable CXL Preview
Liqid: Composable CXL Preview
CXL Forum121 views

InterCon 2016 - SLA vs Agilidade: uso de microserviços e monitoramento de cloud

  • 1. October 2016 First 90SLA vs. Agile Microservices and cloud monitoring
  • 3. This is our vision Building the foundation to Build a 3B Company by FY20 Agenda 1 . “Old World”: MercadoLivre’s original architecture. 2 . “Ground Zero”: shifting to microservices on the cloud 3 . Monitoring the cloud 4. Alarms: when things go south 5. “Fury”: streamlining DevOps at MercadoLivre
  • 4. In numbers +400 deploys/day On +650 APPS +1000 Developers In 8 development centers +10 programming languages
  • 5. In numbers +25.000.000 Request per minute +22.000 VM’s In 7 data centers +700 DB’s In 4 different engines
  • 8. This is our vision Building the foundation to Build a 3B Company by FY20 Old world properties ● Monolithic ● Highly coupled code ● Unified SVN repository ● Single DB ● Simple infrastructure with little overhead ● Single QA team ● Closed system
  • 9. This is our vision Building the foundation to Build a 3B Company by FY20 Deployments as ML grew Anyone at anytime
  • 10. This is our vision Building the foundation to Build a 3B Company by FY20 Deployments as ML grew Anyone at anytime Some people, anytime
  • 11. This is our vision Building the foundation to Build a 3B Company by FY20 Deployments as ML grew Anyone at anytime Some people, anytime Some people, once a week
  • 12. This is our vision Building the foundation to Build a 3B Company by FY20 Deployments as ML grew Anyone at anytime Some people, anytime Some people, once a week Only by all experts together, at 3 AM, on thursdays not covered by any “freeze”
  • 14. Shifting to microservices Frontend API Frontend CRM Mobile apps 3rd party devs API API
  • 15. This is our vision Building the foundation to Build a 3B Company by FY20 Ground zero properties ● Multiple technologies and frameworks (dev’s choice) ● Completely decoupled code in multiple Github repositories ● One DB for each app, multiple engines ● Complex infrastructure with possible high overhead ● QA, testing and Continuous Integrations is done by each team ● Independent deployments, environments and policies ● Open platform
  • 16. “With great power comes great responsibility”. Stan Lee
  • 17. This is our vision Building the foundation to Build a 3B Company by FY20 Developer responsibilities ● Developer gets ownership of entire dev cycle ● Massive empowerment of dev team -> OWNERSHIP Manage resources VMs Choose support systems required and create them Develop Code Choose your technology and keep your Github repository Test Create tests, regressions or CI as needed Ensure quality Define uptime Define what “up” means for your own app (health.sh) Measure Create metrics to analyze performance and downtime DBs and services Networking Create rules and loadbalancers to route traffic to application Create & scale computing pools for dev/test/prod React Deploy Write all routines for automatically deploying your app on any VM React to critical events that affect your app
  • 18. DevTools in ML Developer Melicloud API - Create apps - Manage pools (test/prod) - Manage VMs & loadbalancers - Build & deploy - Create queues - Create DBaaS or KVSaaS - Create caches Github repo - Code app - Write test & deploy strategy - Write uptime definitions Nginx eventRouting & OpsGenie - Write rules to route traffic to your pools - Write rules to manage alarms - Define alarm escalation policies & schedules - Manage contact channels
  • 20. Mobile apps Module Test app CI Main app Automated build & store deployment Repo Team Module Test app CI Repo Team Module Test app CI Repo Team
  • 21. Monitoring mobile apps Module Main app Team Module Module Crash reporting Team Team
  • 23. This is our vision Building the foundation to Build a 3B Company by FY20 New Relic ● Default monitoring in VMs golden image ● No configuration necessary (initially) HTTP errors Unhandled errors See if other devs/clients misuse your entry params Stack traces Fast debugging See what’s going on in production Unified pool data All instances’ traces in the same place Performance metrics Transaction traces See what’s taking so long Recognize deviations Graphs to see if traffic or response time vary w/ respect to another period Unsupported params Other services Detect down services affecting you Unexpected issues appear in production Apdex Score
  • 25. This is our vision Building the foundation to Build a 3B Company by FY20 Datadog ● Easy to use for different frameworks ● Good for business specific metrics Custom metrics Complex metrics Graphs filtered with different dimensions Infra monitoring Full info More data than NR on disk, memory, network Scalable Handles well aggregating information from many different VMs Real time analysis Fast response Almost no latency Dashboards Customizable dashboards to show what’s more relevant for each app Online filtering Alarms Flexible alarms based on custom metrics You can send multiple parameters for events
  • 27. This is our vision Building the foundation to Build a 3B Company by FY20 Log collection ● Logs are collected by an agent on all VMs ● They are sent to an ElasticSearch ● Access via a Kibana frontend ● Developers can use special syntax to create queryable dimensions for all logged events ● All instances’ logs in the same place ● Request tracing through multiple applications/APIs (request_id)
  • 30. Unified handling of events health.sh Code triggered alarms eventRouting
  • 31. This is our vision Building the foundation to Build a 3B Company by FY20 Event routing ● Rules added by each team ● Check alarm origin, type and importance ● Check “quiet hours” ● Assign escalation policy and forward to OpsGenie
  • 32. This is our vision Building the foundation to Build a 3B Company by FY20 OpsGenie ● Manage teams to deal with escalation policies ● Set “on call” schedules (w/substitutes & manager escalation) ● Everyone manages his contact methods (SMS, mail, phone call, app)
  • 33. Fury
  • 34. This is our vision Building the foundation to Build a 3B Company by FY20 Evolution Old world Ground zero Fury
  • 35. This is our vision Building the foundation to Build a 3B Company by FY20 Fury: DevOps to NoOps ● Still microservices ● Full service oriented ● Easier dev cycle and learning curve ● Pre-assembled flavors for popular frameworks ● Less bash scripts, more UI based configuration ● Auto-scaling & auto-healing ● Docker based (smaller dev/prod environment gap) ● Designed to run on AWS ● Continuous integration already included
  • 36. This is our vision Building the foundation to Build a 3B Company by FY20 Fury dashboard
  • 37. This is our vision Building the foundation to Build a 3B Company by FY20 Dev Cycle in Fury: create app ● Creates repository ● Creates Jenkins CI server ● Creates network infra
  • 38. This is our vision Building the foundation to Build a 3B Company by FY20 Dev Cycle in Fury: create scope ● Creates load balancer (ELB) ● Creates auto scaling group (ASG) for scope instances ● Creates instances ● Initialize logs & metrics services ● Download containers to instances ● Start traffic
  • 39. This is our vision Building the foundation to Build a 3B Company by FY20 Dev Cycle in Fury: deploy ● Creates ASG for new version ● Create instances for new ASG ● Initialize logs & metrics services ● Download containers to instances ● Progressive traffic switch ● If candidate is OK, destroy previous infrastructure
  • 41. ?