Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use polling with back off up to one minute. So when a workload is done, it immediately polls for more work. If nothing found, wait for 5 seconds, still nothing 10 seconds, ... until one minute and from then on it polls every minute until it finds work again and the back off timer resets to 0 again.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: