AS::Notifications measuring with Time.now vs CPU clock #34271
At Shopify, we measure and log how much time a request has spent talking to all kinds of external resources: Redis, Memcache, ActiveRecord. Most of that is implemented by wrapping the request into
At the same time we have other middlewares that report total request time, which is using a delta between CPU clock (
We've started noticing some weird data in out logs:
How come that total request time is 30 times less than time spent within the request?
The difference comes from
Given that the PR was targeted for 6.0, can we consider this a bug and back port it to 5.2?