Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Implication of Windows DNA to VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00293192
Message ID:
00293927
Vues:
28
>>I wrote our corporate intranet application using the following format...
>>
>>User Interface (Internet Explorer 5.0 - Visual Interdev 6.0)
>>Business Logic (VFP 6.0 Multi Threaded Com Object running on MTS)
>>Data (Mix of SQL Server 7.0, VFP Databases, and Foxpro Tables)
>
>Wayne, I'm interested in this approach. I read a paper by Rick Strahl that says (as I understand it) that every time MTS receives a message, it instantiates the application object to deal with it, then releases the object again immediately. Given the many seconds that it takes VFP to instantiate some of my forms, this sounds horrible to me.
>
>Perhaps you can shed some light on this.
>
>Peter Robinson

MTS packages have a setting on them to determine how long they remain in memory after execution is complete. Any subsequent requests for service from a front end will use the version in memory, not launch a new instance. The default for this setting is 3 minutes, but I have packages set for as high as 15 minutes.
It is not hard to tell when an instance is being created, and when one already exists. But, there is still only a half second or so delay.

HTH
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform