Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Grokking Tech Talk 15: Architectural decisions @ Parcel Perform


Published on

Speaker: Khang Nguyen is the first engineer of Parcel Perform and responsible much for everything people see on Parcel Perform website, as well as server outage. Happens to organize BarCamp in free time.

Parcel Perform is inspired to become Google Analytics in the field of logistics. We believe last mile delivery is broken and there are better approaches to offer consumer with a better end-to-end experience.

Published in: Technology
  • Login to see the comments

Grokking Tech Talk 15: Architectural decisions @ Parcel Perform

  1. 1. Architecture Decisions @ Parcel Perform
  2. 2. 1. Concepts 2. Communication flows 3. Batch or Stream 4. Monitoring Agenda
  3. 3. Concepts EH123456789VN 1Z8836X4043036971
  4. 4. 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
  5. 5. 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 3 Product Action Count Joel on Software Add 5 Joel on Software Remove 2 Product Unit Value Kindle Reader $250 Joel on Software $85
  6. 6. Concepts (cont) Sync/Async Request Message Queue (MQ) Batch Processing Stream Processing
  7. 7. Message Queue
  8. 8. Message Queue Uh.. whatever?
  9. 9. Communication Flows ● Why the RED flow? ● What should go to Kafka? ● HTTPS or Socket?
  10. 10. Data Processing
  11. 11. Data Processing (cont) Downside: no streaming
  12. 12. Monitoring
  13. 13. Monitoring (cont)
  14. 14. Dudes I ran out of slides!