Commit Graph

3 Commits

Author SHA1 Message Date
Aliaksandr Valialkin e113a6dfce stackless: use dedicated worker pool per each stackless func.
This reduces tail latencies in our prod when multiple stackless funcs
are used concurrently.
2017-02-06 14:23:39 +02:00
Aliaksandr Valialkin 07559fc63b stackless: send "func done" notification over a buffered channel, so the funcWorker could process multiple work items without switching to other goroutines 2017-02-06 01:10:21 +02:00
Aliaksandr Valialkin 5abb44878e stackless: added NewFunc() for wrapping stack-hungry CPU-bound functions 2017-02-05 23:35:23 +02:00