Re:We have to talk about this Python, Gunicorn, Gevent thing
by p_l on Saturday March 07, 2020 @10:27PM
(#22516145)
On the digression of efficiency... treating efficiency as something you solve by throwing more machine resources at is causing recognizable problems today.
And the calculus of cost doesn't even always work out the same.
Re:We have to talk about this Python, Gunicorn, Gevent thing
by seemslegit on Sunday March 08, 2020 @11:35AM
(#22518507)
That's a prime example of survivorship bias, projects that spent their runway optimizing for machine resources are not around to have their problems recognized.
Re:We have to talk about this Python, Gunicorn, Gevent thing
by p_l on Sunday March 08, 2020 @01:11PM
(#22519155)
I had more than one project where people were cheaper than machines, and going tight on budgets for machine resources led to the project surviving instead of dying.
Hell, a big example of that is Stack Overflow, which runs a very busy site on much less hw than they would have needed otherwise, just by taking high level optimization questions up front.
Re:We have to talk about this Python, Gunicorn, Gevent thing
by seemslegit on Sunday March 08, 2020 @02:55PM
(#22519790)
And can you spot a non json/http based service in their stack ? (no redis and sqlserver don't count because they don't own those)
https://nickcraver.com/blog/2016/02/17/stack-overflow-the-ar... don't know if there's a later one.
EDIT: I see they store their redis values in protobuf which is probably more due to memory utilization rather than serialization performance concerns
Re:We have to talk about this Python, Gunicorn, Gevent thing
by p_l on Monday March 09, 2020 @06:58AM
(#22524384)
I can spot, however, kernel-mode HTTP servers (including customized ones), and heavy use of pretty advanced stack with good optimization capabilities. The choices of the stack do make a big impact, something that they have mentioned several times, with the summary of "paying Microsoft licenses paid back very well compared to using popular open-source stacks"
Remember, Performance is also a feature. Both a non-functional one (to reduce your costs) or functional one (to have happier users).
Laziness is a virtue in our profession :) huge "citation required" on it being more efficient in engineering effort and most importantly it's ubiquitous and interoperable with any language without having to rely on grpc or thrift implementation and tools for that language/platform.
Re machine time efficiency - to the extent I understood what she was actually complaining about simply none of those issues are attributable to json-over-http being used.