adrian cockcroft - @adrianco - battery ventures it’s ... · randall munroe - 2015 - thing...
TRANSCRIPT
I t ’ s C o m p l i c a t e d …A d r i a n C o c k c r o f t - @ a d r i a n c o - B a t t e r y V e n t u r e s
I t ’ s c o m p l i c a t e d … o u r l i v e s .
“ W h a t i s t h e m e a n i n g o f l i f e , t h e u n i v e r s e … a n d e v e r y t h i n g ? ”
D o u g l a s A d a m s - T h e H i t c h h i k e r s G u i d e t o t h e G a l a x y
I t ’ s c o m p l i c a t e d …
b u t w e d e a l w i t h i t .
T r a n s l a t e : “ I t ’ s t o o c o m p l i c a t e d ”
a s : “ T o o m a n y m o v i n g p a r t s
a n d I c a n ’ t i n t u i t i t ’ s b e h a v i o r ”
W h a t ’ s t h e m o s t c o m p l i c a t e d t h i n g y o u d e a l w i t h i n t u i t i v e l y ?
R a n d a l l M u n r o e - 2 0 1 5 - T h i n g E x p l a i n e r : C o m p l i c a t e d S t u f f i n S i m p l e W o r d s
I t ’ s c o m p l i c a t e d … a t w o r k .
F r e e d o m a n d R e s p o n s i b i l i t y C u l t u r e R e e d H a s t i n g s - C E O N e t f l i x N e t f l i x C u l t u r e D e c k - 2 0 0 9
“ I t m a y w e l l b e t h e m o s t i m p o r t a n t d o c u m e n t e v e r t o c o m e o u t o f t h e V a l l e y . ”
S h e r y l S a n d b e r g - C O O F a c e b o o k - 2 0 1 3
“ W e c a n ’ t c o p y N e t f l i x b e c a u s e i t h a s a l l t h o s e s u p e r s t a r e n g i n e e r s , w e d o n ’ t h a v e t h e p e o p l e ”
F o r t u n e 1 0 0 C T O a f t e r a N e t f l i x p r e s e n t a t i o n - 2 0 1 3
“ W e h i r e d t h e m f r o m y o u , a n d g o t o u t o f t h e i r w a y … ”
A d r i a n C o c k c r o f t - i n r e s p o n s e
O p t i m i z e f o r s p e e d , f l e x i b i l i t y a n d e v o l u t i o n .
O p t i m i z e f o r e f f i c i e n c y w h e n a s i g n i f i c a n t c o s t
d r i v e r h a s s t o p p e d e v o l v i n g
I m p o s i n g p r o c e s s d r i v e s a w a y t a l e n t
“ P u r p o s e f u l s y s t e m s , r e p r e s e n t i n g t h e s y s t e m s v i e w o f d e v e l o p m e n t , a s s u m e s p l u r a l i t y i n a l l t h r e e d i m e n s i o n s : f u n c t i o n , s t r u c t u r e , a n d p r o c e s s . ”
J a m s h i d G h a r a j e d a g h i - 2 0 1 1 S y s t e m s T h i n k i n g : M a n a g i n g C h a o s a n d C o m p l e x i t y : A P l a t f o r m f o r D e s i g n i n g B u s i n e s s A r c h i t e c t u r e
I t ’ s c o m p l i c a t e d … i n s i d e t h e t h i n g s w e b u i l d .
“ T h e b a s i c t h e s i s o f t h i s a r t i c l e i s t h a t o r g a n i z a t i o n s w h i c h d e s i g n s y s t e m s ( i n t h e b r o a d s e n s e u s e d h e r e ) a r e c o n s t r a i n e d t o p r o d u c e d e s i g n s w h i c h a r e c o p i e s o f t h e c o m m u n i c a t i o n s t r u c t u r e s o f t h e s e o r g a n i z a t i o n s . ”
M e l v i n E . C o n w a y - 1 9 6 8 - C o n w a y ’ s L a w H o w D o C o m m i t t e e s I n v e n t ?
“ Y o u b u i l t i t , y o u r u n i t . ” W e r n e r V o g e l s - A m a z o n C T O A C M Q u e u e V o l u m e 4 , I s s u e 4 - 2 0 0 6
M o n o l i t h i c a p p s o n l y l o o k s i m p l e f r o m t h e o u t s i d e
M i c r o s e r v i c e s e n f o r c e s e p a r a t i o n t h a t m a k e s t h e m l e s s c o m p l i c a t e d
IoT Ingestion Endpoint
Stream Endpoint
Analytics Endpoint
Load Balancer
Normalization Services
Enrich Message Queue Riak KV
Enricher Services
Ingest Message Queue
Load Balancer
Load Balancer
Stream Service Riak TS
Analytics Service
Ingester Service
See github.com/adrianco/spigo
IoT Ingestion Endpoint
Stream Endpoint
Analytics Endpoint
East Region Ingestion
West Region Ingestion
Multi Region TS Analytics
See github.com/adrianco/spigo
T r a c i n g f l o w s a c r o s s m i c r o s e r v i c e s
riak2us-east-1
zoneC
riak9us-west-2
zoneA
Put s896
Replicate
riak3us-east-1
zoneA
riak8us-west-2
zoneC
riak4us-east-1
zoneB
riak10us-west-2
zoneB
us-east-1.zoneC.riak2 t98p895s896 Put us-east-1.zoneA.riak3 t98p896s908 Replicate us-east-1.zoneB.riak4 t98p896s909 Replicate us-west-2.zoneA.riak9 t98p896s910 Replicate us-west-2.zoneB.riak10 t98p910s912 Replicate us-west-2.zoneC.riak8 t98p910s913 Replicate
staashus-east-1
zoneC
s910 s908s913
s909s912
Transactions, Parents and Spans
See github.com/openzipkin
See github.com/openzipkin
See github.com/openzipkin
I n v a r i a n t s S y m m e t r y I s o l a t i o n
“ W e s e e t h e w o r l d a s i n c r e a s i n g l y m o r e c o m p l e x a n d c h a o t i c b e c a u s e w e u s e i n a d e q u a t e c o n c e p t s t o e x p l a i n i t . W h e n w e u n d e r s t a n d s o m e t h i n g , w e n o l o n g e r s e e i t a s c h a o t i c o r c o m p l e x . ”
J a m s h i d G h a r a j e d a g h i - 2 0 1 1 S y s t e m s T h i n k i n g : M a n a g i n g C h a o s a n d C o m p l e x i t y : A P l a t f o r m f o r D e s i g n i n g B u s i n e s s A r c h i t e c t u r e
T h a n k y o u .A d r i a n C o c k c r o f t - @ a d r i a n c o - B a t t e r y V e n t u r e s