dropwizard at yammer

13
Dropwizard at Yammer Jamie Furness ([email protected])

Upload: jamie-furness

Post on 28-Nov-2014

1.091 views

Category:

Software


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Dropwizard at Yammer

Dropwizard at Yammer Jamie Furness ([email protected])

Page 2: Dropwizard at Yammer

Once upon a time… (2010)

RabbitMQ!(3 nodes)!

PostgreSQL

Page 3: Dropwizard at Yammer

Birth of Dropwizard (2011)

PostgreSQL

3 Services

Jetty!Jersey!Jackson!

Metrics!

Guava!

Logback!

=!0.0.1-SNAPSHOT!

Page 4: Dropwizard at Yammer

Current (2014)

PostgreSQL 30+ Services (170+ nodes)

0.6.2!

4+ Services (10+ nodes)

Page 5: Dropwizard at Yammer

Message Feeds

Postgres

Cassandra

Berkley DB

Berkley DB Memcache

Page 6: Dropwizard at Yammer

•  Physical hardware. •  At least 2 nodes per service, for HA and zero

downtime deploys. •  In house deployment service, built using

Dropwizard.

Deployment

Page 7: Dropwizard at Yammer
Page 8: Dropwizard at Yammer

•  Check MK, PagerDuty •  Polling /healthcheck

•  Ganglia •  Polling /metrics

•  Load balancers •  Polling /ping

•  Hystrix •  Tenacity •  Breakerbox

Monitoring, Metrics, Visibility

Page 9: Dropwizard at Yammer

Feedie – GET req/sec! Artie - # connections!

Whoville – POST req/sec! Backups – bytes/sec!

Page 10: Dropwizard at Yammer

Tenacity = Dropwizard + Hystrix

Page 11: Dropwizard at Yammer

•  Testing (dropwizard-testing-integration) •  Dependencies (Guava 16, Dropwizard 0.7.0) •  Visibility (Dapper, Tenacity)

Challenges

Page 12: Dropwizard at Yammer
Page 13: Dropwizard at Yammer

Questions?