A question on scaling:
Our implementation receives front end calls, and sends CI command to HSM for PIN translation under ZPK. It is working very well on single sequential requests.
Now we will have higher volume of requests, and asking guidance on building the scalability from messages arriving from a thread pool. Currently we use a static WorkerClient with MessageArrived delegate event handler.
As the responses from HSM do not carry any source request reference number, how is it possible to tie back the CJ response to the original request?
In light of this, we see these available options:
1) open new tcp connection for each front end call, or
2) keep open a single tcp connection
Many Thanks
Tozzi
Our implementation receives front end calls, and sends CI command to HSM for PIN translation under ZPK. It is working very well on single sequential requests.
Now we will have higher volume of requests, and asking guidance on building the scalability from messages arriving from a thread pool. Currently we use a static WorkerClient with MessageArrived delegate event handler.
As the responses from HSM do not carry any source request reference number, how is it possible to tie back the CJ response to the original request?
In light of this, we see these available options:
1) open new tcp connection for each front end call, or
2) keep open a single tcp connection
- by using a synchronous blocking receive mode, or
-
with async delegate by building an internal queueing mechanism
Many Thanks
Tozzi