php expert to handle on going process

Job ID: 36323800

Budget: $250 – $750 USD

I'm in need of an experienced PHP expert to handle an ongoing process for my project. I require someone experienced in development for off-site work, and who understands the ins and outs of databases and related frameworks. In particular, I need someone well-versed in PHP 7. Some level of flexibility would also be appreciated. If you are an experienced and reliable PHP developer, please consider applying for this project.

task description :

we have an online game , that stores players tasks in id , with every page refresh we execute a query thats job is get the tasks with execution time = now .

after that , we will create some kind o locker on db in order to forbid processing same task twice ,if locker created successfully , then we must go to processes function which will call them all and process them one by one , till it gets a value of true back(which means db data has changes so we need to recall db all over to get new data )

if we get true , we will break the loop , and return to locker function all over to release .

so far so good , now the issue .
after releasing the lock , it should some how restart the locker function all over directly , but whenver we try to do so , we enter an infinite loop , which kills server load ..


we need to find a way , to keep the method running 24h a day ,, and recall itself without casing overload , or missing rows , or working on same row twice .

code will be share in dm .

PLEASEE DO NOT WASTE TIME , THIS IS A HIGH LVL JOB !
Related categories: PHP JavaScript Data Processing MySQL phpMyAdmin