• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Best way to handle simultaneous AppleEvents?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best way to handle simultaneous AppleEvents?


  • Subject: Best way to handle simultaneous AppleEvents?
  • From: Ted Wood <email@hidden>
  • Date: Tue, 17 Apr 2001 12:02:43 -0700

Hi AppleScripters,

I'm currently writing a number of CGIs for my website. I'm constructing a network of computers, with each CPU responsible for one service on my website. This is my best effort at 'distributed processing/task sharing'. Each CPU will be running one Service Manager, an AppleScript application that manages the service. All CGIs will be located on the web server and will communicate to the Service Managers via AppleEvents over the network. So far, this has proven effective, but I want to ensure that multiple, possibly simultaneous, requests will be handled.

Are AppleEvents queued until they can be processed? For example, say test.cgi receives requests from two separate clients. My initial testing showed that things got hung up, but my latest testing showed that both requests were handled. FYI, I sent one request from Netscape and one from Internet Explorer, both running the same laptop connected to the network.

Just thought I'd throw this at the group and see if anyone had some insight into this type of situation. Thanks for any feedback.

Ted


  • Prev by Date: Re: > Naming Quark boxes - screwed up!
  • Next by Date: Re: Random number generator without duplicates?
  • Previous by thread: Re: > Naming Quark boxes - screwed up!
  • Next by thread: PreFab's ability to set a default directory ...
  • Index(es):
    • Date
    • Thread