Not Invented Here Syndrome and Dark Debt: The PagerDuty Story AISH - - PowerPoint PPT Presentation

not invented here syndrome and dark debt the pagerduty
SMART_READER_LITE
LIVE PREVIEW

Not Invented Here Syndrome and Dark Debt: The PagerDuty Story AISH - - PowerPoint PPT Presentation

Not Invented Here Syndrome and Dark Debt: The PagerDuty Story AISH RAJ DAHAL Section I Why are we here ? Not Invented Here Syndrome the tendency towards reinventing the wheel based on the belief that in-house developments are


slide-1
SLIDE 1

Not Invented Here Syndrome and Dark Debt: The PagerDuty Story

AISH RAJ DAHAL


slide-2
SLIDE 2

Why are we here ?

Section I

slide-3
SLIDE 3

Not Invented Here Syndrome

slide-4
SLIDE 4

–The English Wikipedia (2018)

“… the tendency towards reinventing the wheel based on the belief that in-house developments are inherently better suited, more secure, more controlled, quicker to develop, and incur lower overall cost than using existing implementations…”

slide-5
SLIDE 5

Dark Debt

slide-6
SLIDE 6

– Woods DD, STELLA: Report from the SNAFU catchers Workshop on Coping With Complexity. 2017

“….Dark debt was named to draw a parallel with dark matter. Dark matter has detectable effects on the world but cannot be seen or detected directly….Dark debt is found in complex systems and the anomalies it generates are complex system failures….Dark debt is not recognizable at the time of creation. Its impact is not to foil development but to generate anomalies….”

slide-7
SLIDE 7

Comparison to technical debt

slide-8
SLIDE 8

Build vs Buy: The age old question

slide-9
SLIDE 9

Can building instead of buying lead to dark debt ?

slide-10
SLIDE 10

Where does Not Invented Here syndrome come in the mix ?

slide-11
SLIDE 11

WorkQueue

Section II

slide-12
SLIDE 12

October 24, 2011

slide-13
SLIDE 13

WorkQueue

slide-14
SLIDE 14

Background

slide-15
SLIDE 15

High Availability

slide-16
SLIDE 16

Durability

slide-17
SLIDE 17

High Scalability

slide-18
SLIDE 18

Decent Queryability

slide-19
SLIDE 19

Flexible Schema

slide-20
SLIDE 20

Backups

slide-21
SLIDE 21

Synchronous Replication

slide-22
SLIDE 22

What were the options then?

slide-23
SLIDE 23

Kafka?

slide-24
SLIDE 24

Other options were actually considered

slide-25
SLIDE 25

Result: WorkQueue v1

slide-26
SLIDE 26

But it did not stop there…

slide-27
SLIDE 27

Host based partitioning

slide-28
SLIDE 28

Fair partitioning

slide-29
SLIDE 29

Time based row bucketing

slide-30
SLIDE 30

…there were more services using WorkQueue

slide-31
SLIDE 31

In the meanwhile…

slide-32
SLIDE 32

Other distributed queues like Kafka gained popularity

slide-33
SLIDE 33

PaaS based queues made their presence felt

slide-34
SLIDE 34

Cassandra’s API changed*

slide-35
SLIDE 35

Thrift RPC fell out of favor within the company

slide-36
SLIDE 36

WorkQueue’s nature and widespread use was slowly turning into dark debt.

slide-37
SLIDE 37
slide-38
SLIDE 38

Lessons learnt

Section III

slide-39
SLIDE 39

Dark debt is a product of complexity

slide-40
SLIDE 40

The development and use of in-house software for a task is not an indication dark debt

slide-41
SLIDE 41

However, the proliferation of such special purpose software to

  • ther areas is often an indication of Not Invented Here syndrome
slide-42
SLIDE 42

Not Invented Here syndrome is an indication of dark debt

slide-43
SLIDE 43

Proactive evaluation of past custom solutions before proliferation could help alleviate some of the problems

slide-44
SLIDE 44

Unless there is a really strong case for it, don’t go with build*

slide-45
SLIDE 45

When in doubt chose simplicity over complexity

slide-46
SLIDE 46

The past, the present and the future

Epilogue

slide-47
SLIDE 47

Official support for WorkQueue was ended in 2016

slide-48
SLIDE 48

Cassandra based WorkQueue’s usage in PagerDuty has significantly reduced since 2017

slide-49
SLIDE 49

–Edsger W. Dijkstra

“Simplicity is a great virtue but it requires hard work to achieve it and education to appreciate it. And to make matters worse: complexity sells better.”

slide-50
SLIDE 50

Thank You

Gracias

مكل اركش

धन्रवाद

Danke

Merci

谢谢

ありがとう

Asante

@aishrajdahal