I need to load balance c++_server and thinking about using gen_leader.  My setup would be the following:<br><br><br>            (3)            <br>    |-----------------<---------------------|<br>    v                    ^<br>
python_client -                     -> c++_server<br>           -(1)           (2) -<br>        -              -<br>          ->    gen_leader   -<br>        -              -        <br>           -(1)           (2) -<br>
python_client -                -> c++_server<br>    ^                    v<br>    |----------------<----------------------|<br>            (3)<br><br>1) python_client makes a request<br>2) gen_leader passes the request to one of the worker process<br>
3) c++_server then replies backs synchronously back to python_client<br><br>question:<br><br>1) How can I get erlang(gen_leader) to communicate with c++_server?<br>2) Any hint on how I can get python_client to talk to gen_leader?<br>
3) Does gen_leader support synchronous request/reply kind of behaviour?<br clear="all"><br>-- <br>rk<br><br>That which we persist in doing becomes easier for us to do; not that the nature of the thing itself is changed, but that our power to do is increased.<br>
-Ralph Waldo Emerson