Slide 1

Slide 1 text

pipeline:architectures

Slide 2

Slide 2 text

@mheap

Slide 3

Slide 3 text

Pipelines

Slide 4

Slide 4 text

Tea/Coffee

Slide 5

Slide 5 text

Waterfall

Slide 6

Slide 6 text

Manufacturing

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

Engine: 20 mins Frame: 40 mins Windows: 10 mins

Slide 9

Slide 9 text

2x Engine: 20 mins 4x Frame: 40 mins 1x Windows: 10 mins

Slide 10

Slide 10 text

Code Pipelines

Slide 11

Slide 11 text

This is a unix system I know this

Slide 12

Slide 12 text

cat attendees.txt

Slide 13

Slide 13 text

cat attendees.txt | grep Michael

Slide 14

Slide 14 text

cat attendees.txt | grep Michael > michaels.txt

Slide 15

Slide 15 text

cat attendees.txt | grep Michael | sort > michaels.txt

Slide 16

Slide 16 text

Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface.

Slide 17

Slide 17 text

read(file.txt). map(u => return u.name). filter(n => return n == “michael”)

Slide 18

Slide 18 text

read(file.txt). map(u => return u.name). filter(n => return n == “michael”)

Slide 19

Slide 19 text

read(file.txt). map(u => return u.name). filter(n => return n == “michael”)

Slide 20

Slide 20 text

producer.go channel <- sum foo.go val <- channel

Slide 21

Slide 21 text

app.php $bus->handle( new UserRegisteredEvent )

Slide 22

Slide 22 text

Input Processing Output

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

Data ??? Profit!

Slide 25

Slide 25 text

Data Profit!

Slide 26

Slide 26 text

Data Profit!

Slide 27

Slide 27 text

Data Profit!

Slide 28

Slide 28 text

Data Profit! JSON JSON JSON JSON

Slide 29

Slide 29 text

Data Profit! JSON JSON JSON JSON

Slide 30

Slide 30 text

Data Profit! PHP PHP C++

Slide 31

Slide 31 text

Data Profit! PHP Golang C++

Slide 32

Slide 32 text

Data Profit! PHP Golang Michael

Slide 33

Slide 33 text

Building Pipelines

Slide 34

Slide 34 text

Data-Driven

Slide 35

Slide 35 text

Demand-Driven

Slide 36

Slide 36 text

Data-Driven

Slide 37

Slide 37 text

push/pull

Slide 38

Slide 38 text

Back Pressure

Slide 39

Slide 39 text

pub/sub

Slide 40

Slide 40 text

Sequence Numbers

Slide 41

Slide 41 text

Demand-Driven

Slide 42

Slide 42 text

Unique Jobs

Slide 43

Slide 43 text

Transport

Slide 44

Slide 44 text

Serialization

Slide 45

Slide 45 text

Error Handling

Slide 46

Slide 46 text

Pros/Cons

Slide 47

Slide 47 text

Case Study

Slide 48

Slide 48 text

https://www.flickr.com/photos/neotsn/2246759100/ https://www.flickr.com/photos/theenmoy/15255488518 https://www.flickr.com/photos/stuckincustoms/5109788502 https://www.flickr.com/photos/danielfoster/4725849931 https://www.flickr.com/photos/mzmo/8666989650 https://www.flickr.com/photos/usacehq/5529362681 https://www.flickr.com/photos/alpha_auer/5068482201/ https://www.flickr.com/photos/109144586@N08/14863759614/ https://www.flickr.com/photos/94418464@N08/9007117038 https://www.flickr.com/photos/swamibu/2868288357/ https://www.flickr.com/photos/sepehrehsani/5766453552/ https://www.flickr.com/photos/scubasteveo/296747958/ https://www.flickr.com/photos/56218409@N03/15371262455/

Slide 49

Slide 49 text

@mheap

Slide 50

Slide 50 text

Questions?