Home > Back-end >  Datasnap cattle people to answer
Datasnap cattle people to answer

Time:09-23

Currently has a solution, by XE7 using datasnap to implementation, overall architecture is as follows:
Database server DbSer, use to connect to the database, use datasnap calls to the application server, commit SQL statement execution;
BiSer application server, there are multiple, DbSer via datasnap connection, the client's specific affairs, using datasnap to client calls;

Question, like DbSer datasnap BiSer provided, can be to different port number, so if more BiSer,
A great trouble to port handling, this architecture was implemented using DCOM, by providing a unified port of the socket,
This way of datasnap, run on the same computer several servers, can be unified port? How to solve?

CodePudding user response:

DataSnap, using a Socket connection, the default port is 211,
On a server if there are multiple DataSnap server side, you can use the same port (211),

CodePudding user response:

You is at most two on a computer (DBSer, BiSer),
Each with a (the Sock Server) port,
Multiple BiSer on a computer,,, want to what?
Do the same things, why so many instances?

CodePudding user response:

I use two server, it is 211, everything is normal,

CodePudding user response:

With a set of zhang bai, the same server, hang a DATASNAP, multiple accounts
Flexible combination
  • Related