Consider using beanstalk instead of gearman. We had problems with long waiting workers with gearman, because the tcp connection died after 2 hours, but the worker didn't realize this, waiting forever without doing anything any more.
Learn something about standard algorithms! There are so much php-developers around who don't really know about code design. Learning a new language sometimes help, because you have to cope with new concepts. But in the end every new language is more or less the same. what you want to learn is about ways to solve problems!
On high traffic sites something like this can get a huge performance problem! If a lot of functions are not often called they get parsed nevertheless on every hit!
Do two passes. First find the highest value, then use that while rendering the table.
Consider using beanstalk instead of gearman. We had problems with long waiting workers with gearman, because the tcp connection died after 2 hours, but the worker didn't realize this, waiting forever without doing anything any more.
Learn something about standard algorithms! There are so much php-developers around who don't really know about code design. Learning a new language sometimes help, because you have to cope with new concepts. But in the end every new language is more or less the same. what you want to learn is about ways to solve problems!
Yor can work around using screen hardcopy command. Also take a look at tmux. Great alternative to screen!
On high traffic sites something like this can get a huge performance problem! If a lot of functions are not often called they get parsed nevertheless on every hit!