PHP does expose sys V shared-memory apis (shm_* functions):
http://us2.php.net/manual/en/book.sem.php
If you already have apc installed, you could also try:
http://us2.php.net/manual/en/book.apc.php
APC also allows you to store user specific data too (it will be in a
shared memory).
Haven't
J Ravi Menon wrote:
PHP does expose sys V shared-memory apis (shm_* functions):
http://us2.php.net/manual/en/book.sem.php
I will look into this. I really need a key/value map, though and would
rather not have to write my own on top of SHM.
If you already have apc installed, you could
values were stored, the APC storage began to slow down *dramatically*. I
wasn't certain if APC was using only RAM or was possibly also writing to
disk. Performance tanked so quickly that I set it aside as an option and
moved on.
IIRC, i think it is built over shm and there is no disk backing
shiplu wrote:
On Sun, Jan 24, 2010 at 3:11 AM, D. Dante Lorenso da...@lorenso.com wrote:
All,
I'm loading millions of records into a backend PHP cli script that I
need to build a hash index from to optimize key lookups for data that
I'm importing into a MySQL database. The problem is that
On Sun, Jan 24, 2010 at 3:11 AM, D. Dante Lorenso da...@lorenso.com wrote:
All,
I'm loading millions of records into a backend PHP cli script that I
need to build a hash index from to optimize key lookups for data that
I'm importing into a MySQL database. The problem is that storing this
5 matches
Mail list logo