When use one worker pool
There are any option:
-
redis(memcache)... local in memory save work data
=> SLOW, resource consuming for every webapp server to build redis
-
redis remote save worker data
=> VERY SLOW, but independent from web app
-
global variable golang save work's data
=>> very very fast
share experiences and best practice of you for problem