Find freelancers. Lose those costly delays.

With 1.7 million freelancers, we'll match you with the perfect talent.

or, Register with Elance »

PHP expert , mysql optimization , php multi-curl
Sign in to Add to Watch List

IT & Programming > Web Programming

View Change History

The client has made the following changes to the job.


Job canceled.

Aug 9, 2011

Job Description

  |  Change History >>


  • Posted: Mon, Aug 08, 2011
  • Time Left: Closed
  • Location: Anywhere
  • Client prefers freelancers from:

    You are still able to submit a proposal for this job.

    The client prefers freelancers from
    a different location.

    You're still able to submit a proposal for this job, regardless of your location.
  • Start: Immediately
  • Budget: $1,000 or more
  • Fixed Price Job
  • Elance Escrow Protection
  • W9 Not Required
Sign in to view client's details

I have a PHP script which does the following :
retrieves a tempid from a table , updates its status with 1 to make sure that no other script is using that tempid
2. Grabs users from database based on that tempid . Each tempid has about 10K users so there will be a long loop .
3. Requests a page for each user using the username as parameter. The response is then analyzed and an email address(which is urlencoded) is extracted
4. The database is updated with that email address.
To increase the performance I make multi-requests (200 at once) using multi-curl
I run 10 scripts on the server in the same time . The server has about 15 GB ram but after some time it blocks / doesn't respond anymore. The CPU goes up to 100% .

In conclusion I need someone to optimize this script for high performance and lower resource consumption . I run the script directly from php CLR (e.g php mail.php )
You can download the script from   [obscured]  /u/35480696/mail.php

The database has index on ...

Sign in or Register to see more

Desired Skills
Job ID: 25586932
Avg $ | High $ | Low $ — Show Pricing
  • Submit Date (Latest)
There are no proposals yet.
Elance is now an Upwork company.
Upwork is the choice of 4M+ clients. Get started working on Upwork today.
Are you ready to post a job like this one?
Post a Similar Job »