gocraft / work

Process background jobs in Go
MIT License
2.42k stars 342 forks source link

Performance and resource consuming if build redis local in every web app server #211

Open Nghiait123456 opened 2 years ago

Nghiait123456 commented 2 years ago

When use one worker pool There are any option: 1) redis(memcache)... local in memory save work data => SLOW, resource consuming for every webapp server to build redis 2) redis remote save worker data => VERY SLOW, but independent from web app

3) global variable golang save work's data =>> very very fast

share experiences and best practice of you for problem