30+ years of tech, retired from an identity intelligence company, now part-time with an insurance broker.
Dev community mod - mostly light gardening & weeding out spam :)
Not used shared memory in PHP, however these look to be direct mapping to the underlying libc / SYSV functions, which I know are used in apache httpd if you choose a multi-processing model (look at the scoreboard handling): httpd.apache.org/docs/2.4/mod/mpm_...
IIRC some databases also use shared memory extensively (possibly Postgres)?
I last used shared memory back in '92 on a course...
Not used shared memory in PHP, however these look to be direct mapping to the underlying libc / SYSV functions, which I know are used in apache httpd if you choose a multi-processing model (look at the scoreboard handling): httpd.apache.org/docs/2.4/mod/mpm_...
IIRC some databases also use shared memory extensively (possibly Postgres)?
I last used shared memory back in '92 on a course...
Thanks, Phil.
I was testing it earlier and it seemed to be quite slow (1.2 seconds) just to get a key back from the ftok function, this was on Windows though...
I think I will just go straight to the DB and store the value in there.