3 ms·
> Gevent is like goroutines with GOMAXPROCS=1. On its own, yes. For webapps, you can easily combine it with a multi-process WSGI server (like gunicorn or simil
by quacker 6y ago
> Gevent is like goroutines with GOMAXPROCS=1.
On its own, yes. For webapps, you can easily combine it with a multi-process WSGI server (like gunicorn or similar).
- throwaway894345 6y agoRunning four processes with GOMAXPROCS=1 is strictly worse than 1 process with GOMAXPROCS=4. The difference is coarse-vs-fine grained parallelism. Notably, a WSGI+gevent system doesn't allow you to do parallelism within a request, not to mention configuring these WSGI implementations (especially for production) is a bunch of extra headache for which there is no analogy in Go.