Slide 1

Slide 1 text

S E R V I C E O R I E N T E D A R C H I T E C T U R E P H P U K C O N F E R E N C E 2 0 1 4 - F E B R U A RY 2 1 S T - L O N D O N , U K F O R R O B U S T A N D S C A L A B L E S Y S T E M S

Slide 2

Slide 2 text

O L E M I C H A E L I S I A M @CODESTARS // CODESTARS.EU // SLIDR.IO // SO CODED CONFERENCE

Slide 3

Slide 3 text

@ J I M D O W O R K I N G

Slide 4

Slide 4 text

S E R V I C E O R I E N T E D A R C H I T E C T U R E

Slide 5

Slide 5 text

S E R V I C E O R I E N T E D A R C H I T E C T U R E F O R R O B U S T A N D S C A L A B L E S Y S T E M S

Slide 6

Slide 6 text

S TA R T S O M E T H I N G W H E N Y O U

Slide 7

Slide 7 text

S O F T WA R E A R C H I T E C T U R E I T ’ S A L L A B O U T

Slide 8

Slide 8 text

B E A U T I F U L S O F T WA R E D E S I G N & B U I L D

Slide 9

Slide 9 text

I T ’ S G E T T I N G C O M P L I C AT E D O V E R T H E Y E A R S

Slide 10

Slide 10 text

B E F O R E I T ’ S T O O L AT E C H A N G E

Slide 11

Slide 11 text

W E R N E R V O G E L S - C T O A M A Z O N I N C . Service orientation means encapsulating 
 data with the business logic that operates 
 on the data, with the only access through 
 a published service interface. “

Slide 12

Slide 12 text

J E F F B E Z O S R U L E S T H E WA S H I N G T O N P O S T R U L E S

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

“ All teams will henceforth expose their data 
 and functionality through service interfaces.

Slide 15

Slide 15 text

“ All teams will henceforth expose their data 
 and functionality through service interfaces. Teams must communicate with each other 
 through these interfaces.

Slide 16

Slide 16 text

“ All teams will henceforth expose their data 
 and functionality through service interfaces. Teams must communicate with each other 
 through these interfaces. There will be no other form of inter-process communication allowed: […] The only communication allowed is via service interface calls over the network.

Slide 17

Slide 17 text

“ All teams will henceforth expose their data 
 and functionality through service interfaces. Teams must communicate with each other 
 through these interfaces. There will be no other form of inter-process communication allowed: […] The only communication allowed is via service interface calls over the network. It doesn’t matter what technology they use.

Slide 18

Slide 18 text

“ All teams will henceforth expose their data 
 and functionality through service interfaces. Teams must communicate with each other 
 through these interfaces. There will be no other form of inter-process communication allowed: […] The only communication allowed is via service interface calls over the network. It doesn’t matter what technology they use. All service interfaces, without exception, must be designed from the ground up to be externalizable. […] No exceptions!

Slide 19

Slide 19 text

J E F F B E Z O S

Slide 20

Slide 20 text

– M E LV I N C O N WAY / / C O N WAY ’ S L A W “Organizations which design systems ... are constrained to produce designs which are copies of the communication structures of these organizations”

Slide 21

Slide 21 text

M O R E ! B U T T H E R E ’ S

Slide 22

Slide 22 text

M O R E ! B U T T H E R E ’ S

Slide 23

Slide 23 text

FA S T E R D E C I S I O N S L O W E R T H E N U M B E R O F P E O P L E / C O D E B A S E

Slide 24

Slide 24 text

R E S P O N S I B I L I T I E S U N L O A D

Slide 25

Slide 25 text

C O M P L E X I T Y R E D U C E

Slide 26

Slide 26 text

M U C H H A P P I E R D E V E L O P E R S V E R Y S M A L L E R C O D E B A S E

Slide 27

Slide 27 text

M U C H H A P P I E R D E V E L O P E R S V E R Y S M A L L E R C O D E B A S E S O W O W V E R Y H A P P Y S U C H L I G H T W E I G H T

Slide 28

Slide 28 text

S C A L I N G W I N A T

Slide 29

Slide 29 text

I M P L E M E N T I T H O W T O

Slide 30

Slide 30 text

P L AT F O R M B U I L D I N G Y O U R

Slide 31

Slide 31 text

F * C K T H E S TAT E J U S T

Slide 32

Slide 32 text

C O N F I D E N C E B U I L D I N G U P

Slide 33

Slide 33 text

I N D E P E N D E N C E D E S I G N F O R

Slide 34

Slide 34 text

R E L I A B I L I T Y C R E A T E

Slide 35

Slide 35 text

S I N G L E R E S P O N S I B I L I T Y K N O W A B O U T

Slide 36

Slide 36 text

A D O P T C I R C U I T B R E A K E R

Slide 37

Slide 37 text

B A C K P R E S S U R E P R A C T I C E

Slide 38

Slide 38 text

P R O T O C O L S ! R E M E M B E R Y O U R

Slide 39

Slide 39 text

T I M E O U T S VA L U E

Slide 40

Slide 40 text

I N T E R FA C E D E F I N E Y O U R

Slide 41

Slide 41 text

H I G H L E V E L P R O T O C O L S FA N C Y

Slide 42

Slide 42 text

M E S S A G E Q U E U E S M O D E R N

Slide 43

Slide 43 text

Y O U R S E R V I C E

Slide 44

Slide 44 text

Y O U R S E R V I C E Q U E U E

Slide 45

Slide 45 text

Y O U R S E R V I C E Q U E U E A N O T H E R S E R V I C E

Slide 46

Slide 46 text

W E B S E R V E R

Slide 47

Slide 47 text

W E B S E R V E R Q U E U E

Slide 48

Slide 48 text

W E B S E R V E R Q U E U E W O R K E R W O R K E R W O R K E R

Slide 49

Slide 49 text

H T T P A P I C L A S S I C

Slide 50

Slide 50 text

I N T E G R AT E K N O W W H E R E T O

Slide 51

Slide 51 text

B A C K E N D G O F O R Y O U R

Slide 52

Slide 52 text

P R O T O C O L C H E C K Y O U R

Slide 53

Slide 53 text

https://gist.github.com/nesQuick/8852668

Slide 54

Slide 54 text

https://gist.github.com/nesQuick/8852668

Slide 55

Slide 55 text

F R O N T E N D D O I T I N T H E

Slide 56

Slide 56 text

H U M A N S R E S P E C T T H E

Slide 57

Slide 57 text

T H E B A D PA R T S B E A WA R E O F

Slide 58

Slide 58 text

L O G G I N G & M O N I T O R I N G I N A S H A R E D W O R L D

Slide 59

Slide 59 text

S H I T H I T S T H E FA N W H E N T H E

Slide 60

Slide 60 text

R E S P O N S I B I L I T Y A G A I N , I T ’ S A B O U T

Slide 61

Slide 61 text

R E A L W O R L D H O W D O E S I T L O O K L I K E I N T H E

Slide 62

Slide 62 text

No content

Slide 63

Slide 63 text

No content

Slide 64

Slide 64 text

No content

Slide 65

Slide 65 text

“ B L O B ” ! J I M D O S Y S T E M P R O U D LY G R O W I N G S I N C E 2 0 0 6 T E M P L AT E S E R V I C E A P I R O U T E R ?

Slide 66

Slide 66 text

P H P W O R L D B U I L D S E R V I C E S I N

Slide 67

Slide 67 text

T H E G O O D & T H E B A D R E M E M B E R

Slide 68

Slide 68 text

T H A N K Y O U E N D / / E N D E / / F I N / / F I N E / / K O N E C / / PÄ Ä / / V É G / / U Ç / / ऴ Θ Γ / / C U Ố @CODESTARS // CODESTARS.EU

Slide 69

Slide 69 text

Q U E S T I O N S N O W I T ’ S T I M E F O R @CODESTARS // CODESTARS.EU

Slide 70

Slide 70 text

No content

Slide 71

Slide 71 text

Z A N T H I A T H A N K S F O R T H E P I C T U R E S T O A N D S H U T T E R S T O C K : D

Slide 72

Slide 72 text

http://www.slideshare.net/InfoQ/decomposing-twitter- adventures-in-serviceoriented-architecture http://www.infoq.com/presentations/twitter-soa http://blog.separateconcerns.com/2013-01-02-startups- soa.html http://msdn.microsoft.com/en-us/library/bb833022.aspx http://blog.separateconcerns.com/2013-01-02-startups- soa.html https://gist.github.com/mlafeldt/7928709 http://www.indiawebdevelopers.com/resource_center/ articles/soa.html http://msdn.microsoft.com/en-us/library/bb833022.aspx http://techblog.netflix.com/2011/12/making-netflix-api-more- resilient.html https://www.owasp.org/index.php/Web_Application_Firewall http://rubyrogues.com/076-rr-service-oriented-design-with- paul-dix/ Web Operations, edited by John Allspaw and Jesse Robbins, 2010 (O’Reilly) http://shop.oreilly.com/product/ 0636920000136.do Release It!: Design and Deploy Production-Ready Software (Pragmatic Programmers), Michael T. Nygard Also checkout Amazon, Netflix, Etsy & EasyBib (They do great!) I WA N T T O T H A N K M Y C O M PA N Y J I M D O , M Y G I R L F R I E N D A N D A L L M Y C O W O R K E R S F O R S U P P O R T I N G M E ! C O N T I N U O U S R E A D I N G / / S O U R C E S

Slide 73

Slide 73 text

• http://www.flickr.com/photos/st_hilaire_photography/9694567276 • http://www.flickr.com/photos/bobjacques/4396438856 • http://www.flickr.com/photos/lorenzemlicka/7868365738 • http://www.flickr.com/photos/93040567@N02/8603031974 • http://www.flickr.com/photos/robertrountreepics/5843250401 • http://www.flickr.com/photos/konvex/6918120992/ • http://www.flickr.com/photos/pixagraphic/3414730395 • http://www.flickr.com/photos/ianmcburnie/400299725 • http://porn.serverbear.com/tagged/server+porn • http://www.flickr.com/photos/rainforestactionnetwork/5681309882/ • http://www.flickr.com/photos/starprod/5390521715 • http://www.flickr.com/photos/yngw/8050603479/ • http://www.flickr.com/photos/112183927@N03/11790879753 • http://honestgorillas.com/wp-content/uploads/2013/07/ php_elephants.jpg • http://www.flickr.com/photos/hothbricks/11842181413/ • http://darkroom.baltimoresun.com/wp-content/uploads/2012/12/ REU-UKRAINE-PARLIAMENT-BRAW.jpg • http://galeria.vezess.hu/files/ 395/058/000/58395/58395_461869_1000x700.jpg • http://1.bp.blogspot.com/-i-Wvk_fKEHs/Tebi3R-vmlI/ AAAAAAAAAHA/MUDnBg9HiH4/s1600/George-W-Bush-phone.jpg • http://static02.mediaite.com/geekosystem/uploads/2013/12/ doge.jpg • http://www.bhmpics.com/success_kid-wallpapers.html I M A G E S S O U R C E S / C O P Y R I G H T S

Slide 74

Slide 74 text

A N D A LWAY S R E M E M B E R : S AY S 〿