go routines when implementing a worker pool?
depends on what the go routines are doing. I'll suggest writing a benchmark and then testing for different values of N.
For DB operations usually equals to your db worker threads.
Обсуждают сегодня