Quantcast
Channel: Kommentare zu: Parallel processing in PHP
Browsing all 38 articles
Browse latest View live

Von: Jason

The problem with using & to fork processes is the child processes are totally dependent on the parent process… meaning that if the parent processes exits… so do the child processes. This isn’t...

View Article



Von: David Müller’s Blog: Parallel processing in PHP | Scripting4You Blog

[...] = {"data_track_clickback":true}; In a recent post to his blog David Müller has taken a look at parallel processing in PHP using a few different methods – system calls, fork, and curl. Since PHP...

View Article

Von: r2d2a « Mindless Chatter

[...] Parallel processing in PHP | davblog: webdev and stuff [...]

View Article

Von: A semana no mundo PHP (01/04/2011) | raphael.dealmeida

[...] Parallel processing in PHP [...]

View Article

Von: abcphp.com

Parallel processing in PHP… Since PHP does not offer native threads, we have to get creative to do parallel processing. I will introduce 3 fundamentally different concepts to emulate multithreading as...

View Article


Von: Erik

Nice comparison, I’ve used the exec method before, didn’t know about the other two. @Jason you can use nohup to have the process break from the parent and continue running. I’ve used this method for...

View Article

Von: Louis-Philippe Huberdeau

You can also use the default stream extension with non-blocking options to parallelize requests. It also works fine for webservice-intensive applications. stream_select() will avoid the idle loop by...

View Article

Von: Indrek

You have done little wrong in fork example. Better example: 123456789101112131415$pids = array(); for ($i = 0; $i < 4; $i++) {     if ($pid = pcntl_fork())    {       $pids[] = $pid;       break; //...

View Article


Von: Mass Tweet

[...] I love your blog. Thank you for this useful post. Read More… [...]

View Article


Von: Programowanie w PHP » Blog Archive » David Müller’s Blog: Parallel...

[...] a recent post to his blog David Müller has taken a look at parallel processing in PHP using a few different methods – system calls, fork, and curl. Since PHP does not offer [...]

View Article

Von: abcphp.com

Parallel processing in PHP… Since PHP does not offer native threads, we have to get creative to do parallel processing. I will introduce 3 fundamentally different concepts to emulate multithreading as...

View Article

Von: Erik

Nice comparison, I’ve used the exec method before, didn’t know about the other two. @Jason you can use nohup to have the process break from the parent and continue running. I’ve used this method for...

View Article

Von: Louis-Philippe Huberdeau

You can also use the default stream extension with non-blocking options to parallelize requests. It also works fine for webservice-intensive applications. stream_select() will avoid the idle loop by...

View Article


Von: Indrek

You have done little wrong in fork example. Better example: $pids = array(); for ($i = 0; $i

View Article

Von: Mass Tweet

[…] I love your blog. Thank you for this useful post. Read More… […]

View Article


Von: Programowanie w PHP » Blog Archive » David Müller’s Blog: Parallel...

[…] a recent post to his blog David Müller has taken a look at parallel processing in PHP using a few different methods – system calls, fork, and curl. Since PHP does not offer […]

View Article

Von: Patrick

Well, gotta stop using the curl method. ^^

View Article


Von: Nikvasi

I think PHP is not suited for this at all. First PHP is not thread safe, so we can not use native threading with pcntl_fork(). In second exec() is good for one process, but with multiple of them you...

View Article

Von: javier

Best info about parallel processing I could find in all the net, the only thing I would add would be gearman, but it’s kinda different since you have to set up your php for it. Kind regards David

View Article

Von: Adam

I’m in two minds at the moment and can’t decide on the best approach for developing a PHP application where it’s main purpose is scheduling tasks. I’m currently re-factoring a previous version which...

View Article
Browsing all 38 articles
Browse latest View live




Latest Images