[zeromq-dev] Load balancing & PGM
Steven McCoy
steven.mccoy at miru.hk
Fri Mar 27 18:12:58 CET 2009
2009/3/27 Tamara Kustarova <kustarova at fastmq.com>:
> I looked at the implementation of zmq using pgm that we tried to do. It can
> be compiled now and it is able to send messages, however, it is not finished
> yet and is not as "reliable" as it should be.
You''ll want to set the following socket option for the LAN with MS-PGM:
RM_HIGH_SPEED_INTRANET_OPT
Otherwise you'll never see SPMs and recovery will not initiate.
You might want to consider probing Winsock for PGM socket support like
in this example, released under MIT license:
http://forgeftp.novell.com//openpgm/mspgmsend.cpp
Unless I'm mistaken accept() will require a packet from the sender to
initiate a new session which should be handled as an asynchronous
event, this depends on the architecture of zeroMQ above the PGM
sockets.
To handle session changes would need a thread waiting on accept() for
future sessions with some mechanism to terminate the current running
socket.
--
Steve-o
More information about the zeromq-dev
mailing list