Re: Using Applescript to process WebCatalog functions

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17768
interpreted = N
texte = Kenneth Grome changed the universe:> Most desktop database software that's being used to serve web data (4D, FMP, > etc.) should be run on a separate computer from the web server -- because > desktop databases are generally CPU hogs, and their uncooperative behavior > towards web servers almost demands that they are run on a separate machine in > order to free up the web server CPU to serve incoming requests as they come in.The databases need a webserver on the same machine and there is no difference in performance when they run on a different one as long as the machine does not come to the limit. You can't compare FileMaker and compiled 4D-applications. 4D/NetLink has outstandig performance, sometimes beaten by WebCat :-) but, to be honest, for dedicated WebCat tasks only. That's why we start to use WebCat now for shopping. I've never seen an Oracle application with the speed of 4D or WebCat on the web, plain SQL databases are pretty fast but really plain... > >when I see such a behavior and cannot find an acceptable explanation I blame > AppleScript for doing some funny things under the hood... > > I would tent to believe it's 4D and not AppleScript that's causing the problem. > Have you tried removing 4D from the equation to see if anything else can > possibly create the slowdowns you're experiencing?Yes, I have done it and it is like you suspect ;-) But - again - we can't live without 4D now and I am still not sure if the effect ist just clearly shown in our configuration and less clearly in others. AppleScript is a wonderful tool but has to be be handled with care - bigger applications should do their own job anyway and not engage my machine for tasks I cannot control. For heavy scripting is Unix the right platform, for occasional tasks AppleScript is ideal.So, to come to a conclusion: we started the discussion with updating databases using AppleScript. And after all I recommend not to do so, it can run too often when triggered by a customer. If someone wants to script his webserver-machine, it is wise to keep the nuber of scripts down and use them for administrative tasks only. Never ever let a customer play with it - remember the behavior of a standard desktop machine while a heavy script runs in background. On a fast welltuned server the impact may be harder to see - but it is here. Peter __________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Associated Messages, from the most recent to the oldest:

    
  1. Re: Using Applescript to process WebCatalog functions (Mike Heininger 1998)
  2. Re: Using Applescript to process WebCatalog functions (Peter Ostry 1998)
  3. Re: Using Applescript to process WebCatalog functions (Kenneth Grome 1998)
  4. Re: Using Applescript to process WebCatalog functions (Britt T. 1998)
  5. Re: Using Applescript to process WebCatalog functions (Peter Ostry 1998)
  6. Re: Using Applescript to process WebCatalog functions (Britt T. 1998)
  7. Re: Using Applescript to process WebCatalog functions (Peter Ostry 1998)
  8. Re: Using Applescript to process WebCatalog functions (Britt T. 1998)
  9. Re: Using Applescript to process WebCatalog functions (Peter Ostry 1998)
  10. Re: Using Applescript to process WebCatalog functions (Kenneth Grome 1998)
  11. Re: Using Applescript to process WebCatalog functions (Peter Ostry 1998)
  12. Re: Using Applescript to process WebCatalog functions (Bob Mosebar 1998)
  13. Re: Using Applescript to process WebCatalog functions (Peter Ostry 1998)
  14. Re: Using Applescript to process WebCatalog functions (Peter Ostry 1998)
  15. Re: Using Applescript to process WebCatalog functions (Bob Mosebar 1998)
  16. Re: Using Applescript to process WebCatalog functions (Kenneth Grome 1998)
  17. Re: Using Applescript to process WebCatalog functions (Kenneth Grome 1998)
  18. Re: Using Applescript to process WebCatalog functions (Kenneth Grome 1998)
  19. Re: Using Applescript to process WebCatalog functions (Peter Ostry 1998)
  20. Re: Using Applescript to process WebCatalog functions (Bob Mosebar 1998)
  21. Re: Using Applescript to process WebCatalog functions (Bob Mosebar 1998)
  22. Re: Using Applescript to process WebCatalog functions (Britt T. 1998)
  23. Re: Using Applescript to process WebCatalog functions (Peter Ostry 1998)
  24. Re: Using Applescript to process WebCatalog functions (Kenneth Grome 1998)
  25. Re: Using Applescript to process WebCatalog functions (Peter Ostry 1998)
  26. Re: Using Applescript to process WebCatalog functions (Bob Mosebar 1998)
  27. Re: Using Applescript to process WebCatalog functions (Kenneth Grome 1998)
  28. Re: Using Applescript to process WebCatalog functions (Kenneth Grome 1998)
  29. Re: Using Applescript to process WebCatalog functions (PCS Technical Support 1998)
  30. Re: Using Applescript to process WebCatalog functions (Peter Ostry 1998)
  31. Using Applescript to process WebCatalog functions (Bob Mosebar 1998)
Kenneth Grome changed the universe:> Most desktop database software that's being used to serve web data (4D, FMP, > etc.) should be run on a separate computer from the web server -- because > desktop databases are generally CPU hogs, and their uncooperative behavior > towards web servers almost demands that they are run on a separate machine in > order to free up the web server CPU to serve incoming requests as they come in.The databases need a webserver on the same machine and there is no difference in performance when they run on a different one as long as the machine does not come to the limit. You can't compare FileMaker and compiled 4D-applications. 4D/NetLink has outstandig performance, sometimes beaten by WebCat :-) but, to be honest, for dedicated WebCat tasks only. That's why we start to use WebCat now for shopping. I've never seen an Oracle application with the speed of 4D or WebCat on the web, plain SQL databases are pretty fast but really plain... > >when I see such a behavior and cannot find an acceptable explanation I blame > AppleScript for doing some funny things under the hood... > > I would tent to believe it's 4D and not AppleScript that's causing the problem. > Have you tried removing 4D from the equation to see if anything else can > possibly create the slowdowns you're experiencing?Yes, I have done it and it is like you suspect ;-) But - again - we can't live without 4D now and I am still not sure if the effect ist just clearly shown in our configuration and less clearly in others. AppleScript is a wonderful tool but has to be be handled with care - bigger applications should do their own job anyway and not engage my machine for tasks I cannot control. For heavy scripting is Unix the right platform, for occasional tasks AppleScript is ideal.So, to come to a conclusion: we started the discussion with updating databases using AppleScript. And after all I recommend not to do so, it can run too often when triggered by a customer. If someone wants to script his webserver-machine, it is wise to keep the nuber of scripts down and use them for administrative tasks only. Never ever let a customer play with it - remember the behavior of a standard desktop machine while a heavy script runs in background. On a fast welltuned server the impact may be harder to see - but it is here. Peter __________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Peter Ostry

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:

WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) WebCat2 - [format thousands] (1997) WebCatalog NT beta 18 now available (1997) File Upload (1997) Listserver problem (1997) using showpage and showcart commands (1996) Building Calendars (1997) WebCatalog f2 Installation (1997) SV: [sendmail] (2000) Separate SSL Server (1997) A matter of time (1997) [Replace] really replaces? (2000) WebCatalog and Macromedia Flash (1998) [input]?? (1998) newbie question about zip code search (2003) There's a bug in the math context ... (1997) NT BETA BUG???? (1997) Running _every_ page through WebCat ? (1997) Checking for pre-existing passwords (1998) [OT][Fwd: Announcement] (2003)