in reply to Constant communication between processes
Why use shared memory instead of a pipe or a socket? In fact, since the server already uses a socket, you could completely avoid the intermediary Perl script.
Current design: PHP client ⇔ server Perl Proxy client &hArr Perl Processor server
Simpler design: PHP client ⇔ server Perl Processor
but there may be multiple threaded php scripts running which wouldn't allow that to work.
That makes no sense. You'll need to handle the fact you have multiple clients no matter what communication mechanism you use.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Constant communication between processes
by citycrew (Acolyte) on Mar 12, 2010 at 02:04 UTC | |
by ikegami (Patriarch) on Mar 12, 2010 at 02:26 UTC | |
by ikegami (Patriarch) on Mar 12, 2010 at 02:50 UTC |