Mega Code Archive

 
Categories / Delphi / ADO Database
 

Tcp-ip load balancing, ole enterprise

Question: If I use TMidasConnection with the sockets (TCP/IP) transport, can I still take advantage of OLE Enterprise load balancing and fail over? Would I then have to install OLE Enterprise on the client machines? Answer: You can take advantage of OLE Enterprise without installing it on the clients machines. Just set up the server (the machine running SCKTSRVR.EXE) as a OLE Enterprise client. That way, when a request comes in from a real client, SCKTSRVR will attempt to create the object, and OLE Enterprise will intercept and provide the service.