Article View: microsoft.public.vc.activextemplatelib
Article #2Re: simultaneous requests with com
From: newgroups
Date: Wed, 02 Dec 1998 00:00
Date: Wed, 02 Dec 1998 00:00
65 lines
3857 bytes
3857 bytes
Your options are : 1. Go for MTA and let the COM/RCP thread pool solve your problems. 2. Implement your own class factory to create a new apartment for each object. 3. Use CComAutoThreadModule and increase the default thread pool size. R. Dejan Marinkovic wrote in message <3663C457.8E41A5F1@era.ericsson.se>... >Hi! > >How would I make an Activex server process with one object and five >interfaces or five objects with one interface each (five threads), to >handle simultaneous requests from up to five client applications. I do >not want one request from one client that takes several minutes to lock >some other request from another client (message queue system is not good >enough). > >How should I design such system? >Wkat tool should I use ATL, MFC ,Borland Builder C++? > > >How would the performance suffer if a client calls a Activex server that >also calls another Activex server in the next step, se figure below? > >I plan to use the design below, do you have any suggestions or remarks >on that? The three processes in the middle are acting servers to the >processes above and clients to the process below. >Would it be better to remove the servers in the middle and implement the >server functions in the server process below? > > > > ---------- -----------| > | client | | client | > |Activex | | Activex | > |--------| |----------| > | | | | | |||||||||||||||||||||||||||||| > | | |||||||||||||||||||||||||||||||||||||||||||||||||||| > | | | || > | ||||||||||||||||||||| || > -|----------------- -|-------------- --------------||- > | Activex server | |Activex server | | Activex Server| > | Activex client | | Activex client| | Activex Client| > |----------------| |---------------| >|---------------| > | | | > | | | > | | ||||||||| > -|------------|-------------|-- > | | > | Activex Server process | > | | > | | > | | > ------------------------------ > >mail to dejan.marinkovic@era.ericsson.se and to diskussion group! > > >many thanks in advance > >Dejan Marinkovic > >Sweden
Technical Details
Message-ID:
<912603215.25432.0.nnrp-07.c2464c82@news.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3663C457.8E41A5F1@era.ericsson.se>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9701,1291f6719f6cebbc X-Google-Attributes: gidf9701,public X-Google-Thread: fc3fb,1291f6719f6cebbc X-Google-Attributes: gidfc3fb,public X-Google-Thread: 107039,1291f6719f6cebbc X-Google-Attributes: gid107039,public X-Google-Thread: 10f8ce,1291f6719f6cebbc X-Google-Attributes: gid10f8ce,public X-Google-Thread: 10b937,1291f6719f6cebbc X-Google-Attributes: gid10b937,public From: "newgroups" <enquires@arpsolutions.demon.co.uk> Subject: Re: simultaneous requests with com Date: 1998/12/02 Message-ID: <912603215.25432.0.nnrp-07.c2464c82@news.demon.co.uk> X-Deja-AN: 417833041 X-NNTP-Posting-Host: mailgate.dip.co.uk:194.70.76.130 References: <3663C457.8E41A5F1@era.ericsson.se> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 912603215 nnrp-07:25432 NO-IDENT mailgate.dip.co.uk:194.70.76.130 Newsgroups: microsoft.public.vc.activextemplatelib,microsoft.public.vc.activexlib,microsoft.public.activex,microsoft.public.activex.programming.wininet,borland.public.cppbuilder.activex