by joss82 · 11y ago · 0 comments
For us, one of the biggest latency wins comes from the fact that go can truly execute sql statements in parallel (whereas python's GIL serialized these parallelizable operations). In general, single-threaded go is at least 5x faster than pure python (without c-module).
That said, if you're running Go against n number of CPUs, then yes, the concurrency may in fact happen in parallel.
I'm not quite sure whether dropbox didn't or couldn't get gevent or a similar system to work - it's fairly straightforward.
I wonder if dropbox evaluated this option or just rejected python outright.