A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Waterfall_Cache has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 47

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 194

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Memcache_Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 275

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Filesystem_Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 440

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; APC_Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 628

zez.org: Inter-Process Communication in PHP

zez.org: Inter-Process Communication in PHP

By ServerWatch Staff (Send Email)
Posted Feb 3, 2001


"In this article I'm going to discuss the use of IPC (Inter-Process-Communication) mechanisms from PHP4...." IPC (Inter-process communication) is a standard Unix mechanism to communicate processes in the same machine, basically IPC defines 3 different ways of communication: message queues, shared memory and semaphores. We are going to discuss shared memory and semaphores in this article....

"IPC (Inter-process communication) is a standard Unix mechanism to communicate processes in the same machine, basically IPC defines 3 different ways of communication: message queues, shared memory and semaphores. We are going to discuss shared memory and semaphores in this article...."

"The use of shared memory segments is a very good way to communicate between processes, basically you define a memory segment that can be shared between processes, if a process writes to the memory with some data the other processes can see it. In PHP you can for example control, for example the number of processes running, or put some data in memory to prevent all the php scripts from doing the same thing, generating the same result."

Page 1 of 1

Thanks for your registration, follow us on our social networks to keep up-to-date