R
R
Renat Iliev2014-07-22 23:49:11
MySQL
Renat Iliev, 2014-07-22 23:49:11

How to implement MySQL multithreading in C#?

I am writing now a multi-threaded server, used MySql.Data.MySqlClient, but ran into a problem.
You can send 1 request to one database at the same time and keep 1 connection, and you can read the result of the request only in an open connection.
In queries and SELECT and INSERT, depending on the data that the client sent.
I found myself in such a dead end, how to be in such a situation?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-07-22
@IzeBerg

Organize a pool of connections, a queue of requests and resolve.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question