Change Purchasing System From Instant Delivery To Cronjob Controllled
$30-250 USD
In Progress
Posted almost 11 years ago
$30-250 USD
Paid on delivery
I have a mlm style cycling matrix script. It is built on very simplistic PHP core code and not using a framework.
I am having a problem with each time I launch sales of advertising packs. Because it is essential for members to purchase the first positions in the MLM system so they earn more revenue share. That at launch time there can be up to 300 people making multiple purchases at once. This puts a heavy strain on the script which has to work out very intricate and complex calculations during each purchase and the result is that we get many errors in the first few minutes each week.
We launch a new round of sales every Sunday using a countdown timer, this is to give everyone a fair and equal chance to get the lowest ID numbers possible on their positions. Because we do the cycling payout in a 'next in line' basis. with the first getting paid and then moving to the next in ascending fashion
All we need is for a good coder to intercept the code flow at the point of purchase and instead of it feeding the purchased positions straight into the matrix system, instead, diverting it to a queuing system in the database (there is already a redundant table in the db that can be used for this data). Then we need you to set up a cron file that will resume the feed of the purchased positions in the order they are stored in the db at say for example..... Take next 3 rows from the queue and feed the positions into the system. The system will do all the rest. So it is a simple set up. The cron will run every minute.
So instead of having thousands of positions all being fed into the system at the same time and creating data loss and data collision due to the over-work, there will be a nice measured and controlled feed of a few every minute.
I am quite easy to work with for a coder because I understand php and mysql quite well, I just can't write it, but I know enough to help guide your mind. I did already have this exact same job done last year but somehow I can not find the version of the script that had it. But it was a fast and easy job for the coder who did it in a few hours.
Need this done asap. You can check my 5/5 feedback, I am a top employer who always pays.