Re: [PHP] web based chat app
- From: quickshiftin@xxxxxxxxx ("Nathan Nobbe")
- Date: Tue, 29 Apr 2008 11:26:20 -0400
On Tue, Apr 29, 2008 at 2:35 AM, paragasu <paragasu@xxxxxxxxx> wrote:
i believe the sysv-ipc functions in php can give you access to that aswell (dont quote me tho; > im to lazy to look it up atm :))
well, thanks.. i just aware of semaphore function in php. i never see
anyone use this function
yet. and i don't know how to use it .but i have something to find out
then.,
ive used the semaphores; theyre not too bad (but there are some gotchas) and
theyre way faster than file locking. but anyway, regarding the shared
memory stuff, youd probly better spend your time working with an opcode
caches 'user cache'. i know apc and eaccelerator both provide these
mechanisms which is likely very similar to the sysv shared mem. one thing i
discovered, playing around w/ the sysv shared mem is the interface kinda
sucks... everything must be accessed by a unique integer, whereas (at least
in apc [and likely eaccelerator]) you can supply strings as the cache keys.
-nathan
- References:
- web based chat app
- From: paragasu
- Re: [PHP] web based chat app
- From: "Nathan Nobbe"
- Re: [PHP] web based chat app
- From: paragasu
- Re: [PHP] web based chat app
- From: "Nathan Nobbe"
- Re: [PHP] web based chat app
- From: paragasu
- web based chat app
- Prev by Date: php append string end of line
- Next by Date: Re: [PHP] PHP Errors to screen
- Previous by thread: Re: [PHP] web based chat app
- Next by thread: Re: [PHP] web based chat app
- Index(es):