Thread View: borland.public.cppbuilder.database.multi-tier
6 messages
6 total messages
Started by Steve Pietrykoski
Mon, 16 Oct 2000 00:00
Survey of using MIDAS with anything other than single-threading
Author: Steve Pietrykoski
Date: Mon, 16 Oct 2000 00:00
Date: Mon, 16 Oct 2000 00:00
8 lines
1007 bytes
1007 bytes
If you would, please add to this thread if you've attempted to use MIDAS with a threading model other than single-threading. Indicate the version of BCB you are using, whether you are using "standard" RDM's or MTS modules, and the result of your attempt: success, home-grown workaround, still looking for solution, or abandoned attempt. Thanks for any feedback you provide. Steve Pietrykoski
Re: Survey of using MIDAS with anything other than single-threading
Author: vavan
Date: Tue, 17 Oct 2000 00:00
Date: Tue, 17 Oct 2000 00:00
12 lines
1174 bytes
1174 bytes
Failed and temporary abandoned attempts because of being busy... "Steve Pietrykoski" <steve@SpamIsLame.com> ???????/???????? ? ???????? ?????????: news:39EB8577.8240549@SpamIsLame.com... > If you would, please add to this thread if you've attempted to use MIDAS > with a threading model other than single-threading. Indicate the > version of BCB you are using, whether you are using "standard" RDM's or > MTS modules, and the result of your attempt: success, home-grown > workaround, still looking for solution, or abandoned attempt. Thanks > for any feedback you provide. > > Steve Pietrykoski
Re: Survey of using MIDAS with anything other than single-threading
Author: Klaas Wolters
Date: Thu, 19 Oct 2000 00:00
Date: Thu, 19 Oct 2000 00:00
6 lines
737 bytes
737 bytes
I managed to get it multi threaded by putting the standard RDM in a DLL and connecting to it by use of the socket server. I think dcom should also work. BCB4.0 Klaas Wolters
Re: Survey of using MIDAS with anything other than single-threading
Author: Steve Pietrykoski
Date: Thu, 19 Oct 2000 00:00
Date: Thu, 19 Oct 2000 00:00
24 lines
1356 bytes
1356 bytes
Hi Klass, Thanks for your response. I have a couple of questions about your technique if you don't mind: Do you still have a server executable? If not, how is your COM object registered? Is one instance of your DLL created for each connection? Do you (or could you) have any data that remains in the server even without any connections? (For example, some large array of data shared by all users). Thanks for your help, Steve Klaas Wolters wrote: > > I managed to get it multi threaded by putting the standard RDM in a DLL and > connecting to it by use of the socket server. > I think dcom should also work. > BCB4.0 > > Klaas Wolters
Re: Survey of using MIDAS with anything other than single-threading
Author: Girts Ziemelis
Date: Thu, 19 Oct 2000 00:00
Date: Thu, 19 Oct 2000 00:00
25 lines
1768 bytes
1768 bytes
I gave up a while ago after spending almost a week in tests. It took a week as I could not believe this basic functionality was not working. I was blaming myself for being stupid, and missing something obvious. Did not try to create any workarounds as I feel three tier is complicated and fairly unproductive environment even without workaraunds... Additionally I am no expert in ATL and COM ... In my tests I was using standard RDM's and tried different connections (sockets, DCOM) with no luck. Started testing concurrency using long running SQL statements against Interbase, ended with "while true"loops and sleeps ... Used both BCB 4 and 5. Girts Ziemelis "Steve Pietrykoski" <steve@SpamIsLame.com> wrote in message news:39EB8577.8240549@SpamIsLame.com... > If you would, please add to this thread if you've attempted to use MIDAS > with a threading model other than single-threading. Indicate the > version of BCB you are using, whether you are using "standard" RDM's or > MTS modules, and the result of your attempt: success, home-grown > workaround, still looking for solution, or abandoned attempt. Thanks > for any feedback you provide. > > Steve Pietrykoski
Re: Survey of using MIDAS with anything other than single-threading
Author: Klaas Wolters
Date: Tue, 24 Oct 2000 00:00
Date: Tue, 24 Oct 2000 00:00
36 lines
1788 bytes
1788 bytes
Hi Steve basic procedure Create a ActiveX library Add a Remote data module. You can register de ActiveX dll with regsvr32 or just with Install shield Then it gets loaded by the COM system or by the socket server execute. I have tried to use a debug form in the main library file and discovered that when al RDM instances make use of that debug form the second and rest of the instances are very slow. >Do you still have a server executable? If not, how is your COM object >registered? Another alternative is to load the dll yourself in a main server program and call the _Module.RegisterServer(TRUE); function for registering the RDM and on unload unregister it. > >Is one instance of your DLL created for each connection? > The DLL gets loaded the first time you make a call to the RDM object. and from my experience is yust loaded one time. >Do you (or could you) have any data that remains in the server even >without any connections? (For example, some large array of data shared >by all users). So any data you create in startup code (#pragma startup) should be global to any instance of the RDM object. Klaas
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads