A T T E S T A T T E S T A T T E S T Application (Java) Database - - PDF document

a t t e s t a t t e s t
SMART_READER_LITE
LIVE PREVIEW

A T T E S T A T T E S T A T T E S T Application (Java) Database - - PDF document

A T T E S T A T T E S T A T T E S T Application (Java) Database 1 2 3 Database B C A E D F I G H J L M K O R N P S Q D2 D1 D3 D4 A T T E S T A T T E S T Testing Exposing externally visible internal stats /


slide-1
SLIDE 1

A T T E S T

slide-2
SLIDE 2
slide-3
SLIDE 3

A T T E S T

slide-4
SLIDE 4

A T T E S T

Application (Java) Database

slide-5
SLIDE 5

Database

2 3 1

slide-6
SLIDE 6

A

D4

B C J S P Q G L I

D2 D3

H K R M D O N F D1

E

slide-7
SLIDE 7

A T T E S T

slide-8
SLIDE 8

A T T E S T

“Testing externally visible behaviour as user would see it.” “Exposing internal stats / metrics for debugging”

slide-9
SLIDE 9

A T T E S T

AWS Application Load Balancer monitoring only Zipkin distributed tracing Prometheus and alertmanager StatusCake MAOR metrics, grafana, linkerd dashboard

slide-10
SLIDE 10

A T T E S T

AWS Application Load Balancer monitoring only Zipkin distributed tracing Prometheus and alertmanager StatusCake MAOR metrics, grafana, linkerd dashboard

slide-11
SLIDE 11

BackendConnectionErrors HealthyHostCount HTTPCode_Backend_2XX, HTTPCode_Backend_3XX, HTTPCode_Backend_4XX, HTTPCode_Backend_5XX HTTPCode_ELB_4XX HTTPCode_ELB_5XX Latency RequestCount SpilloverCount SurgeQueueLength UnHealthyHostCount

slide-12
SLIDE 12

A T T E S T

AWS Application Load Balancer monitoring only Zipkin distributed tracing Prometheus and alertmanager StatusCake MAOR metrics, grafana, linkerd dashboard

slide-13
SLIDE 13

app app Requires code change; HTTP Proxy

slide-14
SLIDE 14
slide-15
SLIDE 15

app app app

slide-16
SLIDE 16
slide-17
SLIDE 17

A T T E S T

slide-18
SLIDE 18

A T T E S T

AWS Application Load Balancer monitoring only Zipkin distributed tracing Prometheus and alertmanager StatusCake MAOR metrics, grafana, linkerd dashboard

slide-19
SLIDE 19

A T T E S T

slide-20
SLIDE 20

Code Infrastructure

slide-21
SLIDE 21

Code Infrastructure

Server Containers Instances Scheduler Biz / Application Logic Service Discovery Log shipping Connection pooling Logging Timeouts / Retries TLS Load Balancing

slide-22
SLIDE 22

Code Infrastructure

Server Biz / Application Logic Service Discovery Log shipping Connection pooling Logging Timeouts / Retries TLS Containers Instances Scheduler Load Balancing

slide-23
SLIDE 23

app app

slide-24
SLIDE 24

app

slide-25
SLIDE 25

app app app app app app

slide-26
SLIDE 26

app app

slide-27
SLIDE 27

A T T E S T

request_total response_total response_latency_ms route_request_total route_response_latency_ms route_response_total

slide-28
SLIDE 28

A T T E S T

apiVersion: linkerd.io/v1alpha1 kind: ServiceProfile metadata: annotations: name: phone-verification.default.svc.cluster.local namespace: default spec: routes:

  • condition:

method: POST pathRegex: /verification name: POST /verification responseClasses:

  • condition:

status: min: 409 isFailure: false timeout: 100ms

  • condition:

method: GET pathRegex: /verification/\d+ name: GET /verification/{code} responseClasses:

  • condition:

any:

  • status:

min: 404

  • status:

min: 401 isFailure: false timeout: 50ms

slide-29
SLIDE 29

A T T E S T

slide-30
SLIDE 30

A T T E S T

demo

slide-31
SLIDE 31

A T T E S T

slide-32
SLIDE 32

A T T E S T

➔ ➔ ➔ ➔ ➔

◆ ◆

slide-33
SLIDE 33

A T T E S T

🎊

slide-34
SLIDE 34

@askattest medium.com/attest-engineering @zakknill