Slide 1

Slide 1 text

Kenji Naito a.k.a kenjiskywalker The world is not complete Photos : https://www.flickr.com/photos/gsfc YAPC::Asia 2014 2014/08/29 (day 1)

Slide 2

Slide 2 text

No system lasts forever People makes mistakes

Slide 3

Slide 3 text

What we do?

Slide 4

Slide 4 text

Image your Web Service

Slide 5

Slide 5 text

Journey of! Web Services Growth

Slide 6

Slide 6 text

The Birth of! Web Service

Slide 7

Slide 7 text

Important! Two things

Slide 8

Slide 8 text

Records Important! Two things

Slide 9

Slide 9 text

Records Important! Two things Insurance

Slide 10

Slide 10 text

Why?

Slide 11

Slide 11 text

Someday
 Hardware will fail

Slide 12

Slide 12 text

Someday
 Hardware will fail

Slide 13

Slide 13 text

Someday! People makes mistakes Someday
 Hardware will fail

Slide 14

Slide 14 text

Someday! People makes mistakes Someday
 Hardware will fail

Slide 15

Slide 15 text

Records! Insurance At the start! of Web Service

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

Increase User

Slide 18

Slide 18 text

Increase User

Slide 19

Slide 19 text

Increase User Increasing system loads

Slide 20

Slide 20 text

Increase User Increasing system loads Degrading responses

Slide 21

Slide 21 text

web db

Slide 22

Slide 22 text

web db web db

Slide 23

Slide 23 text

Scale Out! web db

Slide 24

Slide 24 text

What is necessary ? web db

Slide 25

Slide 25 text

Repeatability Same function can be set up -> Scale Out -> Load Balance

Slide 26

Slide 26 text

Simplicity Easy Operation -> Loose coupling -> independent of environment

Slide 27

Slide 27 text

Simplicity Repeatability Increase User! at Scale up, Scale out

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

For Web Service Continuity

Slide 30

Slide 30 text

Addition of service ! functions

Slide 31

Slide 31 text

add batch function …! add cache function …! add queue function …! add …! add …! add …

Slide 32

Slide 32 text

Complexity! Increases

Slide 33

Slide 33 text

What is necessary ?

Slide 34

Slide 34 text

-> Recreated easily Repeatability -> Anywhere

Slide 35

Slide 35 text

-> Loosely coupling -> Add, drop easily Simplicity

Slide 36

Slide 36 text

Simplicity Repeatability Complexity ! Increases

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

Time goes by

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

Machine trouble

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

Operation miss

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

Records Insurance Repeatability Simplicity

Slide 45

Slide 45 text

Accuracy of! Records and Insurance

Slide 46

Slide 46 text

Time is Cost Problems and Recovery more time, more efficient

Slide 47

Slide 47 text

Accuracy of! Records and Insurance The Luxury Liner with! No Passengers or! Sailing the Seven Seas in a Raft

Slide 48

Slide 48 text

π Time Cost Risk decide

Slide 49

Slide 49 text

No content

Slide 50

Slide 50 text

Web Service Continue

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

Approaching! The end of Our journey

Slide 53

Slide 53 text

No system lasts forever People makes mistakes

Slide 54

Slide 54 text

Insurance Records

Slide 55

Slide 55 text

System constantly! changing

Slide 56

Slide 56 text

Repeatability Simplicity

Slide 57

Slide 57 text

Learn from history

Slide 58

Slide 58 text

The UNIX Philosophy Small is Beautiful! ! Make each program do one thing well.! ! Choose portability over efficiency.! ! …

Slide 59

Slide 59 text

ࣜ೥ભٶ Photo : ਆٶࣜ೥ભٶ - Wikipedia Maintain the sanctity! always

Slide 60

Slide 60 text

௕԰ Photo : https://www.flickr.com/photos/iskws/ breaking,! breaking,! breaking

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

Expected change! Un expected change

Slide 63

Slide 63 text

Records! Insurance

Slide 64

Slide 64 text

Repeatability! Simplicity

Slide 65

Slide 65 text

Infrastructure as Code

Slide 66

Slide 66 text

cope with change! be simple Programming

Slide 67

Slide 67 text

cope with change! be simple Infrastructure

Slide 68

Slide 68 text

No system is perfect! No human is perfect

Slide 69

Slide 69 text

The world is not complete

Slide 70

Slide 70 text

Cope with change

Slide 71

Slide 71 text

Continuing! Web Services! journey