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:

FW: Shipping calculations (1997) Back Button problems (1998) [OT] What System Software? (2003) Multiple security dbs (1997) Virtual Postcards (1998) Search/sort in URL Was: GuestBook example (1997) [carts] and databases (1997) Searching help needed (1998) searchable list archive (1997) Variable prices and Formulas.db (1997) Status of variable hierarchy changes? (2000) Country & Ship-to address & other fields ? (1997) [Announce]: Web server security and password protection (1997) [WebDNA] writefile (2009) Help! WebCat2 bug (1997) Quitting WebMerchant ? (1997) [WebDNA] TLS 1.2 and [tcpconnect] (2018) WebCat2b12 CGI Mac - [shownext] problem (1997) PIXO Support (1997) Just testing (2003)