Client concurrency

RCF support and general discussion.
Post Reply
Posts: 1
Joined: Wed Jul 11, 2018 5:58 am

Client concurrency

Post by ReefSmacker »


We've been using RCF 1.3.1 for many happy years but now need to have the RCFclient in a DLL that is called concurrently.
This isn't working using a singleton model (static).
Is there a way within RCF (any version) to provided client pooling.

The client DLL is being loaded by SQL Server and the calls come from many different spid's at any time.


Posts: 238
Joined: Mon Oct 03, 2011 4:53 am

Re: Client concurrency

Post by jarl »


There isn't a connection pool concept in RCF but in this case I think the simplest solution might be to use a thread local variable to hold a RcfClient<> instance, and that way each thread that calls in gets its own connection.
Kind Regards

Jarl Lindrud
Delta V Software

Post Reply