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

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27444
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:

.html files and Apache AuthUserFile setting (2003) shoppingcart reload qty (1997) [BoldWords] WebCat.acgib15Mac (1997) Date problems (1997) Problems with [Applescript] (1997) Gil's in the lead (1999) [OT] will work for... (2003) Forwarding Orders Via Email (1998) [WebDNA] Admin Login Required to Serve any TPL Page (2009) Emailer Error Question (1998) Server Timeout (2001) [WriteFile] problems (1997) WebCat2b13 Command Reference Doc error (1997) Robert Minor duplicate mail (1997) Practice runs ? (1997) OT: Mobile Phone "mailto:" (2008) OK, here goes... (1997) OT (stupid redirect/refresh question) (2002) Re:no template caching (1997) Lookup Notfound (1998)