Re: [WebDNA] Only one request at a time?

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106321
interpreted = N
texte = Well, i see no reason why a tcpconnect would not be served at normal = speed, whether or not in the first page. You would see a difference = between the freeware and accelerated version only if you get several = simultaneous hits on the same page. For instance, here is a double xml test that connect to an external = server on port 443 (secured server, which is usually slower that regular = access), loads data and formats it. It runs in freeware mode. http://test3.webdna.us/test5.dna To me, it is fast. Here the code: =20 -----------------test XML----------------
[text]crlf=3D[unurl]%0D%0A[/unurl][/text] [text]content=3D 2.0 MD YOU MD PcTest747g PcTest382E 12345 1 [/text] [text]XMLresult=3D[tcpconnect = host=3Dnewport.ingrammicro.com&port=3D443&ssl=3DT][!] [/!][tcpsend skipheader=3DT][!] [/!]POST /mustang HTTP/1.0[crlf][!] [/!]Host: [host][crlf][!] [/!]Content-Length: [CountChars][content][/CountChars][crlf][!] [/!][crlf][!] [/!][content][!] [/!][/tcpsend][!] [/!][/tcpconnect][!] [/!][/text] [xmlparse var=3Dxml_var1][XMLresult][/xmlparse] [xmlnodes ref=3Dxml_var1&path=3Dnamed:PNAResponse] [name]=3D[value]
[xmlnodes] - [name]=3D[value]
[/xmlnodes] [/xmlnodes]
-----------------test Donovan----------------
[xmlparse = var=3Dxml_var1&source=3D[url]http://gdata.youtube.com/feeds/api/videos/-/v= olleyball[/url]][/xmlparse] [xmlnode ref=3Dxml_var1&path=3Dnamed:feed] [name]=3D[value]
[xmlnodes]  - [name]=3D[value]
[xmlnodes]    - [name]=3D[value]
[/xmlnodes] [/xmlnodes] [/xmlnode] On Feb 24, 2011, at 16:11, Dan Strong wrote: > Ken, >=20 > I do not know this for sure, nor can I speak intelligently as to the = specifics as I am not involved in the technical aspects of the WebDNA = engine, but it occurred to me the last time you were having this similar = issue: Chris has designed the standard (free) WebDNA fCGI version to = have some sort of "throttle" built into it, so that under a low-traffic = load the speed of a website will be normal, but under a heavy load it = will be slower than probably desired, thus the incentive for = high-traffic websites to purchase the "accelerated" version of WebDNA = fCGI and "unlock" the throttle to be full speed. I assume the beta = versions you are using are the free versions... >=20 > Again, I am not 100% sure that this is the case or that it applies to = your situation, and I defer to Chris to answer this technical question = conclusively. > -Dan >=20 > On 2/24/2011 9:34 AM, Kenneth Grome wrote: >> When I'm using v7 and accessing a template via localhost I >> will not get a response from the server when I request >> another page until after the first page response is served. >>=20 >> Is this normal? >>=20 >> The first page has a tcpconnect in it, and it always makes me >> wait 125+ seconds before I get a resonse from the server. >> This doesn't surprise me because we talked about this in an >> earlier thread ... >>=20 >> But what DOES surprise me is that all new requests I make >> while waiting for the first response are apparently put into >> a queue and held up until the first request is processed. >>=20 >> Sincerely, >> Kenneth Grome >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list. >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Only one request at a time? (Govinda 2011)
  2. Re: [WebDNA] Only one request at a time? (christophe.billiottet@webdna.us 2011)
  3. Re: [WebDNA] Only one request at a time? (Dan Strong 2011)
  4. [WebDNA] Only one request at a time? (Kenneth Grome 2011)
Well, i see no reason why a tcpconnect would not be served at normal = speed, whether or not in the first page. You would see a difference = between the freeware and accelerated version only if you get several = simultaneous hits on the same page. For instance, here is a double xml test that connect to an external = server on port 443 (secured server, which is usually slower that regular = access), loads data and formats it. It runs in freeware mode. http://test3.webdna.us/test5.dna To me, it is fast. Here the code: =20 -----------------test XML----------------
[text]crlf=3D[unurl]%0D%0A[/unurl][/text] [text]content=3D 2.0 MD YOU MD PcTest747g PcTest382E 12345 1 [/text] [text]XMLresult=3D[tcpconnect = host=3Dnewport.ingrammicro.com&port=3D443&ssl=3DT][!] [/!][tcpsend skipheader=3DT][!] [/!]POST /mustang HTTP/1.0[crlf][!] [/!]Host: [host][crlf][!] [/!]Content-Length: [countchars][content][/CountChars][crlf][!] [/!][crlf][!] [/!][content][!] [/!][/tcpsend][!] [/!][/tcpconnect][!] [/!][/text] [xmlparse var=3Dxml_var1][XMLresult][/xmlparse] [xmlnodes ref=3Dxml_var1&path=3Dnamed:PNAResponse] [name]=3D[value]
[xmlnodes] - [name]=3D[value]
[/xmlnodes] [/xmlnodes]
-----------------test Donovan----------------
[xmlparse = var=3Dxml_var1&source=3D[url]http://gdata.youtube.com/feeds/api/videos/-/v= olleyball[/url]][/xmlparse] [xmlnode ref=3Dxml_var1&path=3Dnamed:feed] [name]=3D[value]
[xmlnodes]  - [name]=3D[value]
[xmlnodes]    - [name]=3D[value]
[/xmlnodes] [/xmlnodes] [/xmlnode] On Feb 24, 2011, at 16:11, Dan Strong wrote: > Ken, >=20 > I do not know this for sure, nor can I speak intelligently as to the = specifics as I am not involved in the technical aspects of the WebDNA = engine, but it occurred to me the last time you were having this similar = issue: Chris has designed the standard (free) WebDNA fCGI version to = have some sort of "throttle" built into it, so that under a low-traffic = load the speed of a website will be normal, but under a heavy load it = will be slower than probably desired, thus the incentive for = high-traffic websites to purchase the "accelerated" version of WebDNA = fCGI and "unlock" the throttle to be full speed. I assume the beta = versions you are using are the free versions... >=20 > Again, I am not 100% sure that this is the case or that it applies to = your situation, and I defer to Chris to answer this technical question = conclusively. > -Dan >=20 > On 2/24/2011 9:34 AM, Kenneth Grome wrote: >> When I'm using v7 and accessing a template via localhost I >> will not get a response from the server when I request >> another page until after the first page response is served. >>=20 >> Is this normal? >>=20 >> The first page has a tcpconnect in it, and it always makes me >> wait 125+ seconds before I get a resonse from the server. >> This doesn't surprise me because we talked about this in an >> earlier thread ... >>=20 >> But what DOES surprise me is that all new requests I make >> while waiting for the first response are apparently put into >> a queue and held up until the first request is processed. >>=20 >> Sincerely, >> Kenneth Grome >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list. >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us christophe.billiottet@webdna.us

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:

[shownext] and descending order (1997) Emailer (1999) Input appreciated (2000) pc (1997) [tcp connect] (1998) [WebDNA] General email error -1 (WebDNA 7) (2012) [WebDNA] SendMail Problems, 453 (2016) [WebDNA] SkipJack Question (2009) Date or time comparisons have bugs ... (1998) Emailer 1.01 bombs (1997) 4.0 upgrade pricing (2000) append to right db (2002) unable to launch acgi in WebCat (1997) php vs WebCatalog (2000) Bad suffix error (1997) verify online (1997) 3rd request: What are SMSI's upgrade policies? (2003) Sendmail Question (2001) A question on sub-categories (1997) how to check for no value while using [URL] to prevent cr (1999)