[openstack-dev] [tc] supporting Go

Robert Collins robertc at robertcollins.net
Tue May 10 01:40:58 UTC 2016

On 10 May 2016 at 06:58, Hayes, Graham <graham.hayes at hpe.com> wrote:
>  From a deck about "the rise and fall of Bind 10" [0] -
>    "Python is awesome, but too damn slow for DNS"

That slide deck doesn't provide any analysis on *what* that means -
latency? requests per second?

<- they wrote their server around select(), which has been pretty much
deprecated for high performance - whether scale or latency (except
with very small connection counts) servers for decades...

tl;dr: I don't trust their ability to make the statement that Python
is too slow, because their code is failing a basic sniff test in this

A UDP only DNS server could get away with select (in fact, it might
possibly be optimal), but something handling TCP will rapidly run into
terrible scaling problems - quadratic overheads - with select.


Robert Collins <rbtcollins at hpe.com>
Distinguished Technologist
HP Converged Cloud

More information about the OpenStack-dev mailing list