Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Remote Procedures inside DLL
Fri, Jun 1 2007 7:34 AMPermanent Link

"Jose Eduardo Helminsky"
Tim

I am developing a solution to store remote procedures (my way) inside a DLL.

I don´t want to recompile the server every change in my remote procedures
then I am using a customized server. In this application (service) I have
two components:
1) TDBISamEngine: EngineType = etServer
2) TRemoteProcedureServer: My server component running on 12007 port. This
is a multi-thread and for each connection I load the DLL, run the remote
procedures and unload the DLL.

So far, so good. This is working perfectly and I gain a lot of performance
in my applications without recompile the server. I can change the DLL during
the the day without stopping server, and I can debug the remote procedures
easily without having two opened Delphi just changing a property from
TRemoteProcedureClient.

My doubts:
1) Is there any problems having two servers running on the same service ? Of
course they are listening different ports.
2) Do you recommend a creation of another service and separate from DBISAM
server ?
3) What do you think about this solution ?

I will apreciate any comment and if someone wants I can share the source
code from both TRemoteProceduresClient and TRemoteProceduresServer (can be
dropped on DBSRVR, set Active property to True and it will be ready to
receive instructions from TRemoteProcedureClient)

Eduardo

Fri, Jun 1 2007 3:46 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Eduardo,

<< So far, so good. This is working perfectly and I gain a lot of
performance in my applications without recompile the server. I can change
the DLL during the the day without stopping server, and I can debug the
remote procedures
easily without having two opened Delphi just changing a property from
TRemoteProcedureClient. >>

Cool, nicely done. Smiley

<< 1) Is there any problems having two servers running on the same service ?
Of course they are listening different
ports. >>

Not at all - remember that we do the same thing with the admin/data ports.

<< 2) Do you recommend a creation of another service and separate from
DBISAM server ? >>

That's not necessary.

--
Tim Young
Elevate Software
www.elevatesoft.com

Fri, Jun 1 2007 4:32 PMPermanent Link

"Jose Eduardo Helminsky"
Thanks

Eduardo

Image