You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/12/19 11:21:08 UTC

[GitHub] [trafficserver] xq2248 opened a new issue, #9260: [question]How to calculate the proportion of three kinds of traffic?

xq2248 opened a new issue, #9260:
URL: https://github.com/apache/trafficserver/issues/9260

   Service traffic includes three types:
   1. cached content and memory hit
   2. cached contents, memory misses, but disk hits
   3. not cached contents which will be downloaded back to the source, and be transimited to the users at the same time
   How to calculate the proportion of three kinds of traffic?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficserver] xq2248 commented on issue #9260: [question]How to calculate the proportion of three kinds of traffic?

Posted by "xq2248 (via GitHub)" <gi...@apache.org>.
xq2248 commented on issue #9260:
URL: https://github.com/apache/trafficserver/issues/9260#issuecomment-1432677302

   Yes, it helps a lot, thanks!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficserver] bneradt commented on issue #9260: [question]How to calculate the proportion of three kinds of traffic?

Posted by GitBox <gi...@apache.org>.
bneradt commented on issue #9260:
URL: https://github.com/apache/trafficserver/issues/9260#issuecomment-1376573168

   Just following up: does this suggestion seem like something that would work for you, @xq2248?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficserver] bneradt commented on issue #9260: [question]How to calculate the proportion of three kinds of traffic?

Posted by GitBox <gi...@apache.org>.
bneradt commented on issue #9260:
URL: https://github.com/apache/trafficserver/issues/9260#issuecomment-1358688719

   I would do this via a transaction log configured with the `crc` log field:
   
   https://docs.trafficserver.apache.org/en/latest/admin-guide/logging/formatting.en.html#admin-logging-fields-cache
   
   Your logs wil contain (ordered respectively to your three scenarios):
   1. `TCP_MEM_HIT` for responses served out of the RAM cache.
   2. `TCP_HIT` for responses served out of the cache.
   3. `TCP_MISS` for responses not in the cache. You can combine this the origin response status (`sssc`) to verify positive HTTP responses.
   
   The percentage of these responses can then be post-processed from this transaction log.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org