Home > Software engineering >  C/s architecture
C/s architecture

Time:10-05

Recently in learning, there is a problem not clear, want to understand something,
If software is c/s architecture, at startup when the client program will connect to the database? Login when querying the database, or the client start the program, the account password

CodePudding user response:

People who are familiar to explain?

CodePudding user response:

You are your family,
In general, need not have been attached to, need to connect to the database when operating data, after operation is broken, so can reduce the pressure of the database server,
Of course, you should have been attached to, as long as the server can handle! In a word, you happy!

CodePudding user response:

Usually operation again even, also can start even

CodePudding user response:

According to business requirements

CodePudding user response:

Refer to related open source project source code,

CodePudding user response:

If it is a private database, and user operation is not much, can keep connection, if the user a lot of operation, better need operation, after operation was disconnected
  • Related