4 ms·
> 2) Explicit yield points certainly save you from most of the classic threading errors, and having to use special maps and datastructures everywhere. "classic
by zzzeek 8y ago
> 2) Explicit yield points certainly save you from most of the classic threading errors, and having to use special maps and datastructures everywhere.
"classic threading errors" don't apply to the users of a web framework where you are programming logic that shares nothing with other threads. Additionally, the most free-of-race-conditions monolithic application loses all of that advantage the moment it is placed in a multi-process environment, where other copies of it on the same host or other hosts are competing for the same resources. There is no non-trivial web application today that is deployed to production in a single process on a single host only. Web applications are not scaled vertically.
- mixmastamyk 8y ago> Web applications are not scaled vertically. Should be rare, but believe stackoverflow was doing that for a while.