Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Apartment Model Thread
Message
De
10/08/1999 12:46:25
 
 
À
10/08/1999 12:41:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00251823
Message ID:
00252052
Vues:
9
>>>>
>>>>What are callbacks? What is spawning? In relation to my original question, if two stations are sharing the same thread, is it possible with some C/C++ objects to process their requests simultaneously, or would they both block each other.
>>>
>>>Callbacks are a hook back to the client that can be used to trigger an event in the client application or access a client's services when something happens at the server; the calling application provides an entrypoint that is called by the server. VFP doesn't have a callback mechanism either as a client or server.
>>>
>>>Spawning == creating.
>>>
>>>Yes, it's is possible for a single COM Object with multiple threads of execution to simultaneously service requests.
>>>
>>>It is possible for a VFP MTDLL to operate in a non-blocking fashion, but since there is really only a single thread of execution, if you need to have several identical instance of a method to execute simultaneously, ytou need to use MTS to manage multiple instances of the object. It is possible with the MTDLL for a VFP COM Server with multiple COM interfaces to accept and process calls to different methods simultaneously, but the payoff for this is low - in most cases, interspersing execution will result in a longer total time of execution for multiple simultaneous invocations vs a singel line of execution performing operations serially. The difference is that there may be a perception of faster service by the user if seeral requests are serviced at once, since while the total time of execution is longer, the time to complete any one call may appear shorter because of sequence of execution.
>>
>>But if performance is a necessity and if we're talking about scalability at some point you would need to have multiple servers handling the traffic.
>
>MTS would manage the distribution of work across the servers. It determines when it needs to create new object instances, and where to instantiate them.

What is you're most frequently used reference for this kind of information?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform