176985602337900

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.

Description
Date

Job canceled.

Aug 9, 2011
Close

Job Description

  |  Change History >>

Updated

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

    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
PHP
Job ID: 25586932
Proposals
Avg $ | High $ | Low $ — Show Pricing
  • Submit Date (Latest)
There are no proposals yet.
Sign in to Elance and start working on jobs today.
Sign in to view more of the job details and submit a proposal. Once registered, you'll have access to thousands of jobs online or through email.
Are you ready to post a job like this one?
Post a Similar Job »