Rafał Wrzeszcz - Wrzasq.pl

Pork - fork() for PHP

Tuesday, 10 January 2012, 10:24

You always hear how many things modern computers can do at once, how multi-tasking they are… but when it comes to your simple mailing script it hangs on sending few mails and it can't go further. How it is that you run your application on powerful server machine, but your script flow is completely single-tasking? Well, machines and operating systems supports multi-tasking, but you have to write your code in specific way in order to benefit from it - you have to split your program into multiple single tasks that can be executed parallelly. If you are a PHP developer and you need something for multi-tasking, here I give you Pork - fork() for PHP.

Tags: Pork, Skrypty, Code, Kod, PHP

» Komentarze