the performance and scalability mindset

23
The Performance and Scalability Mindset Brian Doll / @briandoll / New Relic

Upload: brian-doll

Post on 27-Dec-2014

959 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: The Performance and Scalability Mindset

The Performanceand ScalabilityMindset

Brian Doll / @briandoll / New Relic

Page 2: The Performance and Scalability Mindset

Performance is ValuePerformance is Value

Page 3: The Performance and Scalability Mindset

Maintain Value

Page 4: The Performance and Scalability Mindset

Proactive vs. Reactive

Page 5: The Performance and Scalability Mindset

Optimize for Real World Use

Page 6: The Performance and Scalability Mindset

Reckless Prudent

Deliberate

Inadvertent

“We don’t have time for design”

“We must ship now and deal with

consequences”

“What’s Layering?”“Now we know how

we should have done it”

Martin Fowler’sTechnical Debt Quadrant

Page 7: The Performance and Scalability Mindset

What is your perspective?

Page 8: The Performance and Scalability Mindset

What is your perspective?

Speed

Page 9: The Performance and Scalability Mindset

What is your perspective?

Speed

Cost

Page 10: The Performance and Scalability Mindset

What is your perspective?

Speed

Cost

Operational Efficiency

Page 11: The Performance and Scalability Mindset

SimplicityCommunicationFeedbackRespectCourage

Page 12: The Performance and Scalability Mindset

Who watches the watchmen?

Page 13: The Performance and Scalability Mindset

SaaS Application Performance Monitoring

* APM as a Service * In-app agent instrumentation * Support for 5 Languages (Ruby, Java, PHP, .NET, Python) * 175,000+ app processes monitored globally * 10,000+ customers

Page 14: The Performance and Scalability Mindset

By the numbers...

* 20+ Billion application metrics collected every day * 1.7+ Billion web page metrics collected every week * Each "timeslice" metric is about 250 bytes * 100k timeslice records inserted every second * 7 Billion new rows of data every day * Data collection handled by 9 sharded MySQL servers

Page 15: The Performance and Scalability Mindset

New Relic Web UI

* Ruby on Rails * nginx * Linux * 2 @ 12 core Intel Nehalem CPUs w/ 48Gb RAM

Page 16: The Performance and Scalability Mindset

Data Collector and Web Beacon Services * Servlets on Jetty * App metrics collector: 180k requests per minute, responding in 3ms * Web metrics beacon service: 180k requests per minute, responding in 0.15ms * Sharded MySQL using the Percona build * 9 @ 24 core Intel Nehalem w/ 48GB RAM, SAS attached RAID 5 * Bare metal (no virtualization)

Page 17: The Performance and Scalability Mindset

5 Lessons Learned

Page 18: The Performance and Scalability Mindset

1. Keep it simple

Page 19: The Performance and Scalability Mindset

2. Less is more

Page 20: The Performance and Scalability Mindset

3. Trendy != Reliable

Page 21: The Performance and Scalability Mindset

4. Plan for scale

Page 22: The Performance and Scalability Mindset

5. Use the right technology for a given task

RailsNginx

Episode

s

Je5y

New  Relic

Ruby

Java

Page 23: The Performance and Scalability Mindset

Thanks

Brian Doll / @briandoll / New Relic