I've described my question on Bitcoin Stack Exchange: https://bitcoin.stackexchange.com/questions/59298/can-i-load-balance-between-two-instances-of-bitcoin-daemon-by-switching-rpc-requ
Copying question here:
The question is pretty simple.
I have two instances of bitcoin daemon. When I'm running my pool with parallel RPC requests to each instance it calls daemons too often and daemons queue of RPC calls exceeding. I want to balance calls between instances.
The main question: can I get job from DAEMON 1, pass it to mining device, but submit share to DAEMON 2?
Do jobs stateless or if I got job from the daemon 1 I must submit PoW to that daemon too?
If not, can you explain why? And did you know how to properly load balance between bitcoin instances?
In addition I want to say that my bitcoin daemons living in docker container.