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:

WebCat2b15MacPlugin - showing [math] (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) my price won't move (1997) RE: IIS4b2 and WebCatalog b19 (1997) form validator issue (2005) [writefile] (1997) Unique SKU Numbers (2000) Help! WebCat2 bug (1997) Grep and <> (2005) View Source from cache (1997) test (2006) test (2002) [WebDNA] [AddFields] Restrictions (2012) Math with Time (1997) RAM variables (1997) [append] problem (1997) Parameter Problem ATTN: Ken Grome (1998) OK, here goes... (1997) Unexpected comparison behavior change in 4.5.1 (2003) Blocking off access (2005)