Best way to handle simultaneous AppleEvents?
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