[jira] [Commented] (TS-912) TSFetchURL - poor performance

2011-12-13 Thread James Peach (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13168707#comment-13168707
 ] 

James Peach commented on TS-912:


I believe that this happens when the whole response is delivered in a single 
event handler invocation. In this case, read_from_net() delivers the read 
event, but not not notice that it read to EOF and so does not deliver the EOS 
event. The plugin has to wait for a TCP timeout to get the EOS delivered.

 TSFetchURL - poor performance
 -

 Key: TS-912
 URL: https://issues.apache.org/jira/browse/TS-912
 Project: Traffic Server
  Issue Type: Bug
  Components: TS API
Affects Versions: 3.0.0
 Environment: Linux
Reporter: Naveen
  Labels: api, perfomance, ts
 Fix For: 3.1.2


 Running a Apache benchmark with a simple plugin that just does TSFetchURL 
 gives a ~13ms response time. The Fetch was on a localhost. All the plugin 
 does is just sends an hello world response to the client. 
 http://pastebin.com/1uEvuZqk
 Removing the TSFetchURL from the picture gives a response time of 1ms.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-912) TSFetchURL - poor performance

2011-10-11 Thread Manjesh Nilange (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13125480#comment-13125480
 ] 

Manjesh Nilange commented on TS-912:


Here's a simpler version of the situation.

http://pastebin.com/8CkNJKmS


 TSFetchURL - poor performance
 -

 Key: TS-912
 URL: https://issues.apache.org/jira/browse/TS-912
 Project: Traffic Server
  Issue Type: Bug
  Components: TS API
Affects Versions: 3.0.0
 Environment: Linux
Reporter: Naveen
  Labels: api, perfomance, ts
 Fix For: 3.1.1


 Running a Apache benchmark with a simple plugin that just does TSFetchURL 
 gives a ~13ms response time. The Fetch was on a localhost. All the plugin 
 does is just sends an hello world response to the client. 
 http://pastebin.com/1uEvuZqk
 Removing the TSFetchURL from the picture gives a response time of 1ms.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira