Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Story that built Sentry as an On-Premise

Story that built Sentry as an On-Premise

LINE DevDay 2020

November 26, 2020
Tweet

More Decks by LINE DevDay 2020

Other Decks in Technology

Transcript

  1. Agenda › Why use sentry? › Why need to implement

    the Sentry On- premise? › How to implementation
  2. How to implementation Step1 Design infrastructure Step2 Measure performance Step4

    Implement monitoring system Step3 Implement infrastructure
  3. Design infrastructure Postgresql Master Redis Worker 1 TO-BE Worker n

    Worker 2 L4 L4 for web Web 1 Web n Web 2 Nginx 1 Nginx n Nginx 2 Postgresql Slave
  4. Design infra structure TO-BE Postgresql Master Redis Worker 1 Worker

    n Worker 2 L4 L4 for web Web 1 Web n Web 2 Nginx 1 Nginx n Nginx 2 Postgresql Slave
  5. Design infrastructure TO-BE Postgresql Master Redis Worker 1 Worker n

    Worker 2 L4 L4 for web Web 1 Web n Web 2 Nginx 1 Nginx n Nginx 2 Postgresql Slave
  6. Sequence diagram Service Web Redis Worker DB Web Redis Worker

    DB Service 1. send event 2. produce 3. consume 4. store
  7. Sequence diagram Service Web Redis Worker DB Web Redis Worker

    DB Service 1. send event 2. produce 3. consume 4. store
  8. 0 350 700 1050 1400 2 4 8 16 24

    32 40 Web Worker DB Measure performance TPS CPU Core Count
  9. 0 350 700 1050 1400 2 4 8 16 24

    32 40 Web Worker DB Measure performance TPS CPU Core Count
  10. Redis L4 L4 for web Implement infrastructure Nginx 1 Nginx

    n Nginx 2 Worker n Worker 2 Postgresql Master Postgresql Slave Web 1 Web n Web 2 Worker 1 Scale-up Scale-out & Scale-up