On Wed, Nov 17, 2010 at 1:23 AM, Diablo 666 <[email protected]> wrote:
> Hi, > > > (you don't really want CPU bound work in IO threads) > > I don't actually see why this would be a problem. > But maybe a special encryption thread could solve this issue. > This thread would encrypt the message and then send it to > the IO thread which does not have to mind about if the > message is encrypted or not. > > You want to make sure that the IO thread is free enough to keep the underlying network pipe full. If the IO thread starts to do CPU bound work to the point where it can't maintain max network throughput, that will kill performance. But, the idea of having an encryption thread is a good one - or as Martin suggested using a special device for this purpose. Cheers, Brian > just a naive thought... > > Andreas > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > -- Brian E. Granger, Ph.D. Assistant Professor of Physics Cal Poly State University, San Luis Obispo [email protected] [email protected]
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
