RE: [WebDNA] tcp connect is slow...any ways to speed it up?
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 100563
interpreted = N
texte = Thanks TC. Actually, the URL I am trying to parse ishttps://epunahou.punahou.edu/cas/serviceValidate?ticket=myticketnumber&service=http://www.kh.org/api/Here is the code I am using that takes 60 secs from a windows vista machine(core2, high speed DSL, 4 gigs ram, etc.).[text]crlf=[unurl]%0D%0A[/unurl][/text][text]temp=[/text][text]temp=[tcpconnect host=epunahou.punahou.edu&port=443&ssl=T][tcpsendskipheader=t][!][/!]GET/cas/serviceValidate?ticket=myticketnumber&service=http://www.kh.org/api/HTTP/1.1[crlf][!][/!]Host: epunahou.punahou.edu[crlf][crlf][!][/!][/tcpsend][/tcpconnect][/text]Is it the SSL that takes it to a crawl? By the way, the above should returnan XML doc with an error.Thanks, Olin-----Original Message-----From: Toby Cox [mailto:toby.cox@netro42.com] Sent: Tuesday, August 19, 2008 12:15 AMTo: talk@webdna.usSubject: Re: [WebDNA] tcp connect is slow...any ways to speed it up?using the exact code below I am getting times of 0.35 towww.sproutbuilder.com (which seems to be just a 301 page). What machine are you using? What is your connection speed?TCOn 19 Aug 2008, at 11:02, Olin Lagon wrote:> Aloha all, trying to use tcpconnect to download some files. It seems > like each url takes 20 seconds (both windows and linux, webdna v6). > I am using code like this>> [text]crlf=[unurl]%0D%0A[/unurl][/text]> [text]temp=[/text]> [text]temp=[tcpconnect host=www.sproutbuilder.com][tcpsend > skipheader=t][!]> [/!]GET / HTTP/1.1[crlf][!]> [/!]Host: www.sproutbuilder.com[crlf][crlf][!]> [/!][/tcpsend][/tcpconnect][/text]>> Anyone have any tips? Using PHP and curl these pages get downloaded > super fast.>> Thanks, Olin---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list
.To unsubscribe, E-mail to:
Associated Messages, from the most recent to the oldest:
Thanks TC. Actually, the URL I am trying to parse ishttps://epunahou.punahou.edu/cas/serviceValidate?ticket=myticketnumber&service=http://www.kh.org/api/Here is the code I am using that takes 60 secs from a windows vista machine(core2, high speed DSL, 4 gigs ram, etc.).[text]crlf=[unurl]%0D%0A[/unurl][/text][text]temp=[/text][text]temp=[tcpconnect host=epunahou.punahou.edu&port=443&ssl=T][tcpsendskipheader=t][!][/!]GET/cas/serviceValidate?ticket=myticketnumber&service=http://www.kh.org/api/HTTP/1.1[crlf][!][/!]Host: epunahou.punahou.edu[crlf][crlf][!][/!][/tcpsend][/tcpconnect][/text]Is it the SSL that takes it to a crawl? By the way, the above should returnan XML doc with an error.Thanks, Olin-----Original Message-----From: Toby Cox [mailto:toby.cox@netro42.com] Sent: Tuesday, August 19, 2008 12:15 AMTo: talk@webdna.usSubject: Re: [WebDNA] tcp connect is slow...any ways to speed it up?using the exact code below I am getting times of 0.35 towww.sproutbuilder.com (which seems to be just a 301 page). What machine are you using? What is your connection speed?TCOn 19 Aug 2008, at 11:02, Olin Lagon wrote:> Aloha all, trying to use tcpconnect to download some files. It seems > like each url takes 20 seconds (both windows and linux, webdna v6). > I am using code like this>> [text]crlf=[unurl]%0D%0A[/unurl][/text]> [text]temp=[/text]> [text]temp=[tcpconnect host=www.sproutbuilder.com][tcpsend > skipheader=t][!]> [/!]GET / HTTP/1.1[crlf][!]> [/!]Host: www.sproutbuilder.com[crlf][crlf][!]> [/!][/tcpsend][/tcpconnect][/text]>> Anyone have any tips? Using PHP and curl these pages get downloaded > super fast.>> Thanks, Olin---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to:
"Olin Lagon"
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Problem during evaluation of WebCatalog (1998)
Version f1 status (1997)
Weird problems with [SHOWIF]s (1997)
Add to Cart & List of Products (1997)
Quickie question on the email templates (1997)
Rhapsody? (1997)
This list needs a digest: rant, rave... (1997)
webcat pro (1998)
PROBLEM (1997)
WebCatalog/Mac 2.1b2 - PIXO (1997)
WebCatalog can't find database (1997)
FREE WEBCAT! (was: Tech support) (2000)
2.0Beta Command Ref (can't find this instruction) (1997)
Only charge card when product shipped ? (1997)
math variable security [MEDIUM LONG] (2000)
Not really WebCat (1997)
[LOOKUP] (1997)
How to add 60 minutes to current time and have it properly (2005)
Thanks for tips, more quest (1997)
Max Record length restated as maybe bug (1997)