Find Jobs
Hire Freelancers

Add multi thread to my exists code. -- 2

$30-250 USD

In Bearbeitung
Veröffentlicht vor mehr als 7 Jahren

$30-250 USD

Bezahlt bei Lieferung
Hi, I am looking to add 1 feature to my PHP code. to make it run multi threaded. Thank you, regards.
Projekt-ID: 11191657

Über das Projekt

7 Vorschläge
Remote Projekt
Aktiv vor 8 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
Dear Client, Thanks for this opportunity! I can complete this job greatly with high quality! Let's discuss about this job in more detailed. I can start this job right now. Hope to work with you!
$155 USD in 3 Tagen
4,5 (4 Bewertungen)
3,7
3,7
7 Freelancer bieten im Durchschnitt $156 USD für diesen Auftrag
Avatar des Nutzers
I'm placing a bid, mainly to give you some honest feedback. Unfortunately, PHP cannot run multiple concurrent threads. It can only process one request and deliver one response. Any functional programming elements must be run synchronously. However, there are ways to get the benefits of a multithreaded language and still use PHP. It turns out that PHP is exceptionally good at calling external web services using cURL. So, if your application needs to fire off a series of parallel processes, you can write it in a language that supports it, and expose it as a web service to your PHP project. I have recently completed a similar process, where I created a RESTful Python service to run on a different port only accessible to the local machine (for security). It's job was to spin up the multiple concurrent API calls, and then return the consolidated value back as a JSON object. The PHP script would then call the local python service to get the data. It cut the total processing time from over a minute to about 6 seconds. This allowed me to use PHP for all of my external security and routing, and Python for the multithreading. I think you can achieve the outcome you are looking for, but not in PHP directly. It is hard to know exactly the impact, but I would be happy to give you more information if you can provide additional information on your project. Thank you!
$277 USD in 7 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von KUWAIT
Kuwait, Kuwait
5,0
121
Mitglied seit Dez. 4, 2014

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.