the performance and scalability mindset

Post on 27-Dec-2014

959 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

The Performanceand ScalabilityMindset

Brian Doll / @briandoll / New Relic

Performance is ValuePerformance is Value

Maintain Value

Proactive vs. Reactive

Optimize for Real World Use

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

What is your perspective?

What is your perspective?

Speed

What is your perspective?

Speed

Cost

What is your perspective?

Speed

Cost

Operational Efficiency

SimplicityCommunicationFeedbackRespectCourage

Who watches the watchmen?

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

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

New Relic Web UI

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

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)

5 Lessons Learned

1. Keep it simple

2. Less is more

3. Trendy != Reliable

4. Plan for scale

5. Use the right technology for a given task

RailsNginx

Episode

s

Je5y

New  Relic

Ruby

Java

Thanks

Brian Doll / @briandoll / New Relic

top related