Re: [PHP-DEV] Idea for PHP v7.x: Shared Opcode Cache

2016-05-02 Thread Mikael Lyngvig
Ok, thanks for the clarification :-) I guess an opcode cache server of some sort would be the only way to do this, listening either on a Unix socket og a TCP/IP socket. Probably not worth it anyway. I'm going to leave the list again as I just wanted to share my "brilliant" idea with you guys :-)

Re: [PHP-DEV] Idea for PHP v7.x: Shared Opcode Cache

2016-05-02 Thread Joe Watkins
Morning Mikeal, The memory that opcache uses is anonymously mapped shared memory, this cannot be shared across distinct processes, it is not backed by any file. Even if you were to back the memory with a file, the most efficient synchronization primitives that exists cannot be shared across