Re: Spawn doesn't work as advertised ...

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27442
interpreted = N
texte = applescript? is this software peculiar to apple computers and macs?Kenneth Grome wrote:> >> Has anyone ever seen any evidence that [spawn] actually speeds up the serving > >> of web pages? > >> > >> When I hit a template with an applescript context in it, the template takes > >> 30-40 seconds to be returned. And when I put that applescript inside a [spawn] > >> context, it *still* takes 30-40 seconds for the page to be returned! > > > > Actually no, I use spawn on a variety of pages. One in particular is > >looping 500 times through a tcpconnect context, getting data and then > >appending that data to a text file. > > > > Inside the spawn context the page returns in less then 1 second. > >However, the loop takes 15-20 minutes. I know this as it sends me an email > >when it reaches the end of its loop, letting me know that it is done and the > >data is ready. > > > > So perhaps there is something going on between spawn and applescript, > >but it definitely does work. > > If there's something related to [applescript] that prevents [spawn] from working properly when an applescript context is inside, it is certainly not documented. Neither the spawn nor applescript docs suggest any reason why it shouldn't work ... > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499 http://webdna.net > ================================ > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: Spawn doesn't work as advertised ... (Kenneth Grome 2000)
  2. Re: Spawn doesn't work as advertised ... (Rob Marquardt 2000)
  3. Re: Spawn doesn't work as advertised ... (Kenneth Grome 2000)
  4. Re: Spawn doesn't work as advertised ... (Chuck Rice 2000)
  5. Re: Spawn doesn't work as advertised ... (Alex McCombie 2000)
  6. Re: Spawn doesn't work as advertised ... (Bob Minor 2000)
  7. Re: Spawn doesn't work as advertised ... (M.B. 2000)
  8. Re: Spawn doesn't work as advertised ... (Kenneth Grome 2000)
  9. Re: Spawn doesn't work as advertised ... (M.B. 2000)
  10. Re: Spawn doesn't work as advertised ... (Alex McCombie 2000)
  11. Re: Spawn doesn't work as advertised ... (M.B. 2000)
  12. Spawn doesn't work as advertised ... (Kenneth Grome 2000)
applescript? is this software peculiar to apple computers and macs?Kenneth Grome wrote:> >> Has anyone ever seen any evidence that [spawn] actually speeds up the serving > >> of web pages? > >> > >> When I hit a template with an applescript context in it, the template takes > >> 30-40 seconds to be returned. And when I put that applescript inside a [spawn] > >> context, it *still* takes 30-40 seconds for the page to be returned! > > > > Actually no, I use spawn on a variety of pages. One in particular is > >looping 500 times through a tcpconnect context, getting data and then > >appending that data to a text file. > > > > Inside the spawn context the page returns in less then 1 second. > >However, the loop takes 15-20 minutes. I know this as it sends me an email > >when it reaches the end of its loop, letting me know that it is done and the > >data is ready. > > > > So perhaps there is something going on between spawn and applescript, > >but it definitely does work. > > If there's something related to [applescript] that prevents [spawn] from working properly when an applescript context is inside, it is certainly not documented. Neither the spawn nor applescript docs suggest any reason why it shouldn't work ... > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499 http://webdna.net > ================================ > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to M.B.

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:

UPPERCASE (1997) Simple Database close connection (2001) Re[3]: Weird [blank] interpretation (1999) Buying sans cart (1997) 2.0 Info (1997) CAPTCHA system in webDNA (2005) [WebDNA] More YouTube Comments (2010) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) page redirect in webDNA (1997) Emailer Problem (1999) PHP Live (2005) Escape the Root! (2002) Seattle based Webcatters? (2000) WC2b15 File Corruption (1997) Tool of Use to Unix WebCat Admins (2000) [WebDNA] [BULK] www.webdna.us - Out of Order !? (2010) unable to launch acgi in WebCat (1997) Cancel Subscription (1996) Database changes (1998) Re:HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997)