Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pool Manager
Message
 
 
À
16/11/2001 16:39:53
Charles Symons
Lyme Software Development Inc.
Lyme, Connecticut, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00582930
Message ID:
00583391
Vues:
39
>Thanks Larry, I already checked out Rick's site, he uses a FOXISAPI based solution. I need to develop a pool manager that works with ASP.
>
>I am thinking of using the ASP Application object to hold a number of object references to the servers
>
>OBJECT RUNAT=SERVER SCOPE=APPLICATION ID=objServ1 PROGID="ServPool.ServPool
>
>and then using some kind of a broker object to figure out which server is available and pass pack a reference.
>
>If anybody else has any ideas.
>

Charles,
As Claude posted, you could use MTS/COM+. I would recommend using something like this instead of a homegrown solution. While VFP COM objects can not be pooled (because of the lack of free threading support), MTS/COM+ does have Just-In-Time (JIT) activation and run-time file caching which speed up instantiation and reduce resource utilization when not in use. The "pool" approach would hold all resources all the time and may hurt the performance of your IIS system.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform