Comments on Replacing C

Gary E. Miller gem at rellim.com
Mon Jan 9 00:47:00 UTC 2017


Yo Hal!

On Sun, 08 Jan 2017 16:32:48 -0800
Hal Murray <hmurray at megapathdsl.net> wrote:

> What should our code look like in the long term?  Will crypto chew up
> a lot of cycles?  Could a busy server support more clients by running
> several threads in parallel on multiple CPUs?

Yes, threads will help a lot.  I remember when Apache and Mysql started
to use good threading.  It really helps when you can use all 16 cores
on a CPU instead of just one.

> Eric has occasionally said non-good things about threads.

And I 100% agree, if we are talking about Python threads.  With the
GIL the performance is no improvement over single trheaded.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170108/f019cf48/attachment.bin>


More information about the devel mailing list