Re: Messenger V2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-snip-

On 10/18/2017 10:50 AM, Ricardo Dias wrote:
Also, since we want to support multiple Ceph daemons (multiplexing) in
the same process, what would be the preferable API (messenger <-> Ceph
daemon) to be user:

a) Instantiate a single Messenger object and share the instance between
the multiple "sub-daemons"
b) Each "sub-daemon" instantiates a Messenger object, and the internal
Messenger code will take care of the magic of re-using/sharing the
connections to the same peers.

I would recommend a) here. I was imagining each sub-daemon having its own Dispatcher, with a single Messenger instance for the process that fed its Messages into a MultiplexingDispatcher that knew how to steer them to the right sub-Dispatcher.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux