Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM Client/Server » View Thread |
Messages 1 to 3 of 3 total |
Remote Procedures inside DLL |
Fri, Jun 1 2007 7:34 AM | Permanent 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 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. 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. << 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 PM | Permanent Link |
"Jose Eduardo Helminsky" | Thanks
Eduardo |
This web page was last updated on Tuesday, September 17, 2024 at 04:19 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |