17

Benji - Ruby on Rails Profiler

Embed Size (px)

DESCRIPTION

The first version of the async rails profiler.. to find at https://github.com/southdesign/benji

Citation preview

Page 1: Benji - Ruby on Rails Profiler
Page 2: Benji - Ruby on Rails Profiler

on

for

Do we need more RAM?

Does the database slow down?

Doe we need view caching?

Doe we need object

caching?

How many SQL statements are

executed?

What actions are

served right now?

What is it?

Are we doing more writes or reads?Do we need more

servers?

Page 3: Benji - Ruby on Rails Profiler

benjibenji

Text

How does it work?

Page 4: Benji - Ruby on Rails Profiler

What does it look like?

Page 5: Benji - Ruby on Rails Profiler

benjibenji

Text

What’s the job of the node?

Page 6: Benji - Ruby on Rails Profiler

It’s a stopwatch!

Page 7: Benji - Ruby on Rails Profiler

How is that done internally?

Page 8: Benji - Ruby on Rails Profiler

What do we want to time?

Page 9: Benji - Ruby on Rails Profiler

We want the rack.requests!

Page 10: Benji - Ruby on Rails Profiler

It’s plugged in as middleware and listens!

Page 11: Benji - Ruby on Rails Profiler

benjibenji

Text

What’s the job of the redis?

Page 12: Benji - Ruby on Rails Profiler

It collects and stores the time events!

Page 13: Benji - Ruby on Rails Profiler

benjibenji

Text

What’s the job of benji?

Page 14: Benji - Ruby on Rails Profiler

It analyzes the time events!

Page 15: Benji - Ruby on Rails Profiler

And drills them down!

Page 16: Benji - Ruby on Rails Profiler

And monitors them live!

Page 17: Benji - Ruby on Rails Profiler

Time for a test drive, isn’t it?