Skip to content

nginx shows sometimes upstream_response_time larger than request_time

License

Notifications You must be signed in to change notification settings

mike96265/time-puzzle

Repository files navigation

time-puzzle

nginx shows sometimes upstream_response_time larger than request_time

Requirements

  • systemtap
  • openresty must configure with --with-debug --with-dtrace-probes

Run

# start backend-server
cd backend-server
openresty -p `pwd` -c nginx.conf
# start main server
cd ..
openresty -p `pwd` -c nginx.conf
# tracing with systemtap
stap -v -x {main server worker pid} -I tapset stap-scripts/request_time.stp
curl localhost:8080

About

nginx shows sometimes upstream_response_time larger than request_time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published