Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.
We Built this City 
(Although not this one in particular…) 
Greg Brail, Gary Forrest, and Paul Kim
Overview 
• A little bit about architecture 
• How we monitor at Apigee 
• Some real data 
2
A Little Bit About Architecture
We try to stick to our principles 
within reason 
4
Principle: Eventual Consistency 
5 
Consistency 
Availability 
Partition Tolerance 
Zookeeper
Eventual Consistency Leads to… 
• Better availability 
– Support for multiple regions and data centers 
– No downtime due ...
Single- versus Multi-Tenant 
7 
Single Tenant Multitenant 
Tenant A 
Tenant B 
Tenant C 
Tenant A 
Tenant B 
Tenant C
A Little of Each 
8 
Inbound Routing API Call Processing Data Storage 
Tenant A 
Tenant B 
Tenant C 
Tenant A 
Tenant B 
T...
Everything Should Have an API 
9
Everything Gets Deployed to the Cloud; 
Most Things Get Deployed On- 
Premises 
10
How We Monitor at Apigee
Traditional Monitoring – information silos 
12 
Alerts 
Custom 
Checks 
* Product names for illustrative purposes only. No...
A different approach – standard alerts 
13 
standard 
alert 
Custom 
Checks 
Event 
Processor 
* Product names for illustr...
A different approach – standard alerts 
14 
standard 
alert 
Problem Details 
 Host, service, metric 
Actions-to-take 
 ...
Monitoring Architecture 
15 
System Being 
Monitored 
Monitoring 
Agent 
Event Stream 
Processing 
Server 
(Real Time Aler...
Support Ticket History 
16
P1 Incidents Caught by Monitoring 
17
Some Real Data
Sports News API 
19 
When did the 2014 
NFL season start? 
08/29 08/30 08/31 09/01 09/02 09/03 09/04
Online Ticket Business 
20 
Traffic spikes 
before events
US Retailer 
21 
Labor Day Weekend 
Daytime spikes 
and higher on 
weekends
Mobile Application Monitoring 
22 
5-day traffic view 12-hour traffic view
Thank you
Próxima SlideShare
Cargando en…5
×

We built this city: Behind the scenes of Apigee Edge

1.982 visualizaciones

Publicado el

Check out these slides from I Love APIs 2014 to learn how architects and engineers are building products at Apigee, and how we incorporate open source technology for enterprise grade apps: Cassandra, Postgres, Netty, Jersey, jQuery, Bootstrap, Tomcat, Puppet, Hadoop, Couchbase and more.

Publicado en: Software
  • Sé el primero en comentar

We built this city: Behind the scenes of Apigee Edge

  1. 1. We Built this City (Although not this one in particular…) Greg Brail, Gary Forrest, and Paul Kim
  2. 2. Overview • A little bit about architecture • How we monitor at Apigee • Some real data 2
  3. 3. A Little Bit About Architecture
  4. 4. We try to stick to our principles within reason 4
  5. 5. Principle: Eventual Consistency 5 Consistency Availability Partition Tolerance Zookeeper
  6. 6. Eventual Consistency Leads to… • Better availability – Support for multiple regions and data centers – No downtime due to hardware or network failures – No downtime to replace a component • Better scalability – Add nodes without downtime – Scale horizontally 6
  7. 7. Single- versus Multi-Tenant 7 Single Tenant Multitenant Tenant A Tenant B Tenant C Tenant A Tenant B Tenant C
  8. 8. A Little of Each 8 Inbound Routing API Call Processing Data Storage Tenant A Tenant B Tenant C Tenant A Tenant B Tenant C Tenant D Tenant E Tenant D Tenant E Tenant A Tenant B Tenant C Tenant D Tenant E
  9. 9. Everything Should Have an API 9
  10. 10. Everything Gets Deployed to the Cloud; Most Things Get Deployed On- Premises 10
  11. 11. How We Monitor at Apigee
  12. 12. Traditional Monitoring – information silos 12 Alerts Custom Checks * Product names for illustrative purposes only. No endorsement by Apigee is intended or implied.
  13. 13. A different approach – standard alerts 13 standard alert Custom Checks Event Processor * Product names for illustrative purposes only. No endorsement by Apigee is intended or implied.
  14. 14. A different approach – standard alerts 14 standard alert Problem Details  Host, service, metric Actions-to-take  Graph  Playbook  Escalation contact Custom Checks Event Processor * Product names for illustrative purposes only. No endorsement by Apigee is intended or implied.
  15. 15. Monitoring Architecture 15 System Being Monitored Monitoring Agent Event Stream Processing Server (Real Time Alerting) Notification IM chat, ticketing system, email groups, phone Visualization Queryable Metrics (CloudWatch, API, Logs) Monitoring Agents cloud-lb-metrics api-curl-agent
  16. 16. Support Ticket History 16
  17. 17. P1 Incidents Caught by Monitoring 17
  18. 18. Some Real Data
  19. 19. Sports News API 19 When did the 2014 NFL season start? 08/29 08/30 08/31 09/01 09/02 09/03 09/04
  20. 20. Online Ticket Business 20 Traffic spikes before events
  21. 21. US Retailer 21 Labor Day Weekend Daytime spikes and higher on weekends
  22. 22. Mobile Application Monitoring 22 5-day traffic view 12-hour traffic view
  23. 23. Thank you

×