grokking tech talk 15: architectural decisions @ parcel perform

14
Architecture Decisions @ Parcel Perform

Upload: grokking-vn

Post on 27-Jan-2017

23 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Grokking Tech Talk 15: Architectural decisions @ Parcel Perform

Architecture Decisions@ Parcel Perform

Page 2: Grokking Tech Talk 15: Architectural decisions @ Parcel Perform

1. Concepts

2. Communication flows

3. Batch or Stream

4. Monitoring

Agenda

Page 3: Grokking Tech Talk 15: Architectural decisions @ Parcel Perform

Concepts

EH123456789VN

1Z8836X4043036971

Page 4: Grokking Tech Talk 15: Architectural decisions @ Parcel Perform

You lose what you don’t store

Parcel ID Status Updated At

1Z25959204 Customs Investigation

2016-09-30 15:42:24

1Z25959204 Out for delivery

2016-10-01 15:42:24

Parcel ID Updated At

1Z25959204 2016-10-01 15:42:24

Event Created At

Customs Investigation

2016-09-30 15:42:24

Out for delivery

2016-10-01 15:42:24

Page 5: Grokking Tech Talk 15: Architectural decisions @ Parcel Perform

An example from e-commerce friends

Order ID Status Amount

LZD-1942658 delivered $505

Product Unit Value Unit Count

Kindle Reader

$250 1

Joel on Software

$85 3Product Action Count

Joel on Software

Add 5

Joel on Software

Remove 2

Product Unit Value

Kindle Reader

$250

Joel on Software

$85

Page 6: Grokking Tech Talk 15: Architectural decisions @ Parcel Perform

Concepts (cont)

Sync/Async Request

Message Queue (MQ)

Batch Processing

Stream Processing

Page 7: Grokking Tech Talk 15: Architectural decisions @ Parcel Perform

Message Queue

Page 8: Grokking Tech Talk 15: Architectural decisions @ Parcel Perform

Message Queue

Uh.. whatever?

Page 9: Grokking Tech Talk 15: Architectural decisions @ Parcel Perform

Communication Flows

● Why the RED flow?● What should go to Kafka?● HTTPS or Socket?

Page 10: Grokking Tech Talk 15: Architectural decisions @ Parcel Perform

Data Processing

Page 11: Grokking Tech Talk 15: Architectural decisions @ Parcel Perform

Data Processing (cont)

Downside: no streaming

Page 12: Grokking Tech Talk 15: Architectural decisions @ Parcel Perform

Monitoring

Page 13: Grokking Tech Talk 15: Architectural decisions @ Parcel Perform

Monitoring (cont)

http://vizceral.parcelperform.com/

Page 14: Grokking Tech Talk 15: Architectural decisions @ Parcel Perform

Dudes I ran out of slides!