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 is https://epunahou.punahou.edu/cas/serviceValidate?ticket=myticketnumber&servi ce=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][tcpsend skipheader=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 return an XML doc with an error. Thanks, Olin -----Original Message----- From: Toby Cox [mailto:toby.cox@netro42.com] Sent: Tuesday, August 19, 2008 12:15 AM To: talk@webdna.us Subject: Re: [WebDNA] tcp connect is slow...any ways to speed it up? using the exact code below I am getting times of 0.35 to www.sproutbuilder.com (which seems to be just a 301 page). What machine are you using? What is your connection speed? TC On 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 to the mailing list . To unsubscribe, E-mail to: Associated Messages, from the most recent to the oldest:

    
  1. RE: [WebDNA] tcp connect is slow...any ways to speed it up? ("Olin Lagon" 2008)
  2. Re: [WebDNA] tcp connect is slow...any ways to speed it up? (Toby Cox 2008)
  3. RE: [WebDNA] tcp connect is slow...any ways to speed it up? ("Olin Lagon" 2008)
  4. Re: [WebDNA] tcp connect is slow...any ways to speed it up? (Toby Cox 2008)
Thanks TC. Actually, the URL I am trying to parse is https://epunahou.punahou.edu/cas/serviceValidate?ticket=myticketnumber&servi ce=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][tcpsend skipheader=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 return an XML doc with an error. Thanks, Olin -----Original Message----- From: Toby Cox [mailto:toby.cox@netro42.com] Sent: Tuesday, August 19, 2008 12:15 AM To: talk@webdna.us Subject: Re: [WebDNA] tcp connect is slow...any ways to speed it up? using the exact code below I am getting times of 0.35 to www.sproutbuilder.com (which seems to be just a 301 page). What machine are you using? What is your connection speed? TC On 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 to the 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:

Thanks Grant (1997) Netiquette: how to get the most out of this list (1999) Help with Repost Data msg from form (1997) protect tag on NT (1997) too many nested [xxx] (1997) One more try (1997) Buying sans cart (1997) [Reload mydata.db] (1998) WC2.0 Memory Requirements (1997) Word-And searches (2000) Anyone using unix? Having problems... (2000) WebDNA-Talk Digests (1997) Severe Slowness (2005) WEBDNA chat (2002) Three new problems, maybe a fourth (1997) Kaaaaahhhhhhhnnnnnnn! (1997) 2 databases (1998) [WebDNA] [OT] iTools FTP question (2010) MacAuthorize and WebMerchant (1997) Support ?? (1997)