Answer the question
In order to leave comments, you need to log in
What is the best way to implement such a daemon?
I want to write a demon so that it connects to the database and keeps the connection. Now we connect to the daemon from the web page, exchange data through the connection, disconnect ... But we continue to keep the connection to the database ...
Advise how best to implement such a daemon?
Please help me with the name...
Answer the question
In order to leave comments, you need to log in
You, judging by the description, came up with the Connection Pool. No need to write it yourself, look towards ready-made implementations. BoneCP, Tomcat connection pool, etc.
If there is a similar "daemon" in the C# context, the server application that listens on the port and redirects requests received through the port to the database side and returns the response back, did it for the sake of interest as a kind of "SQL proxy". Easily implemented due to Remoting technology
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question