Hugues Van Landeghem wrote:
Hi all and best wished for this new year,
For datasnap application with multiple client using Firebird and FireDAC, :
Can we use one FDConnection for each client or can we use the same FDConnection ?
Best Regards
You are going to want to use a connection per client. While gds32 (and therefor
fbclient) were made thread safe as of IB 6.0, it was made thread safe by
serializing access to the connection. This means your multiple clients running
against your server will all wait on each other even though their calls are
being done in separate threads. One connection per client stops the
serialization of API calls at the client dll level.
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
Learning is finding out what you already know. Doing is demonstrating that you
know it. Teaching is reminding others that they know it as well as you. We are
all leaners, doers, teachers. (R Bach)
Connect with Us