News for hackers. Stuff that matters.
Re:PHP Dark Arts: Shared Memory Segments (IPC) by duskwuff on Tuesday September 28, 2010 @11:29PM (#1738239)
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.
Re:PHP Dark Arts: Shared Memory Segments (IPC) by vital101 on Wednesday September 29, 2010 @07:27AM (#1738969)
In fairness, PHP provides other methods of IPC as well. http://www.php.net/manual/en/book.sem.php
Re:PHP Dark Arts: Shared Memory Segments (IPC) by duskwuff on Wednesday September 29, 2010 @11:13AM (#1739680)
Those 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.