[zeromq-dev] More security thoughts

Brian Granger ellisonbg at gmail.com
Wed Nov 17 20:41:48 CET 2010


On Wed, Nov 17, 2010 at 1:23 AM, Diablo 666 <thediablo666 at hotmail.de> 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
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>


-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101117/3c479c80/attachment.htm>


More information about the zeromq-dev mailing list