Find Jobs
Hire Freelancers

simple php mysql script

$10-30 USD

Cancelled
Posted almost 8 years ago

$10-30 USD

Paid on delivery
This is for connection slot assignment for dozens of concurrent connections. there is a column called conSlot which never exceeds 6. i need the script to search all available conSlots which are less than 4 and order them in descending order. the topmost conSlot will be assigned in a first in first out basis. I assume this will need to be transactioanlly locked. Concurrency is key here and i have read that locking with FOR UPDATE is not concurrent effecient. once assigned conSlot will be incrememented this has to be mysql cluster friendly. Im currently using the following start transaction Select * from [login to view URL] where conSlot < 6 Order by conSlot DESC limit 1 FOR UPDATE *pseudo - update conslot=conslot+1 commit the probplem with this is that if one of the conslots is 3 and the rest are zero, slots will be assigned randomly to the empty slots and not 3, increment 3. The job is to write a script which completes the task above in the most reliable manner with over 50 concurrent sessions in mind and mysql cluster friendly.
Project ID: 10920084

About the project

5 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $25 USD for this job
User Avatar
Greetings from Mxicoders We read through project requirements and glad to express our interests because we have worked on similar concept in past We are team of skilled experienced designers and developers who handle project ttwith Agile Methodology and best scrum board and version control softwares. We guarantee your app handle high volume data and security level. We use all major test softwares to ensure ROI , let's discuss further through live chat session
$56 USD in 2 days
4.8 (47 reviews)
7.2
7.2
User Avatar
I will do it for Free , Just need ur review as I just started. If u accepted please provide me with the table desc, data sample and we can go from there. Cheers!
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
sydney, Australia
5.0
32
Payment method verified
Member since Mar 3, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.