How can one use multi threading in PHP applications ? |
Yes but that is not really multi-threading or utilising parallel processing.
Golang uses the concept of Go routines which are effectively cheap threads. It's definitely worth a read as the syntax is much easier than the threading you would use in either c or c++ and much safer to use. https://www.youtube.com/watch?v=cN_DpYBzKso Nodejs is more popular than golang and is the go to for such things nowadays, I think it is single threaded though although you could do something with callbacks. The only trouble is, is it is javascript syntax which I don't particularly enjoy using haha.
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
|
Messages In This Thread |
How can one use multi threading in PHP applications ? - by makeshaun - 01-26-2017, 03:17 AM
RE: How can one use multi threading in PHP applications ? - by Narf - 01-26-2017, 04:46 AM
RE: How can one use multi threading in PHP applications ? - by skunkbad - 02-12-2017, 10:04 AM
RE: How can one use multi threading in PHP applications ? - by ignitedcms - 02-12-2017, 02:41 PM
RE: How can one use multi threading in PHP applications ? - by skunkbad - 02-12-2017, 03:35 PM
RE: How can one use multi threading in PHP applications ? - by ignitedcms - 02-12-2017, 04:41 PM
RE: How can one use multi threading in PHP applications ? - by skunkbad - 02-12-2017, 05:45 PM
|