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

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27443
interpreted = N
texte = >> 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 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)
>> 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 Kenneth Grome

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:

Date Formats (1997) Intermitent problem using [referrer] (1997) select multiple 2 more cents (1997) textarea inputs and returns (1999) WC2.0 Memory Requirements (1997) japanese characters (1997) Verifying both name and password (was: New Problem) (1997) Rank=off, reverse direction (2004) WebCat2b15MacPlugin - showing [math] (1997) textarea input (2002) b12 cannot limit records returned and more. (1997) & Aftermath (1999) WebCat B13 Mac CGI -- Frames question (1997) WebCatalog can't find database (1997) replace using &append=T (2007) RE: SSL and WebCatalog (1997) Three new problems, maybe a fourth (1997) Need relative path explanation (1997) Has anything been fixed in 4.0.1 since the beta? (2000) How far do [showif]s go? (1997)