Welcome Guest, Not a member yet? Register   Sign In
How can one use multi threading in PHP applications ?
#6

(This post was last modified: 02-12-2017, 04:49 PM by ignitedcms.)

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
Reply


Messages In This Thread
RE: How can one use multi threading in PHP applications ? - by ignitedcms - 02-12-2017, 04:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB