4 ms·
PHP: Bringing you yesterday's IPC today! *: SysV shared memory is incredibly clumsy to implement anything more complex than a cache in, and memcached still d
by duskwuff 16y ago
PHP: Bringing you yesterday's IPC today!
*: SysV shared memory is incredibly clumsy to implement anything more complex than a cache in, and memcached still does a better job of that. There's really very few reasons you would ever want to use it in production code.
- vital101 16y agoIn fairness, PHP provides other methods of IPC as well. http://www.php.net/manual/en/book.sem.php http://www.php.net/manual/en/book.sem.php
- duskwuff 16y agoThose are all still cruddy SysV IPC methods you're pointing to. They're marginally better than just throwing data into shared memory and hoping it sticks, but you're still much better off sending messages across a UNIX domain socket.