Re: [PHP] Exchanging Data among processes

2005-04-06 Thread Matheus Degiovani
Hello Richard,
Shared Memory.
http://php.net/shmop
Not for the faint of heart. :-)
Oooh... this seems sweet... :)
Thanks a lot!
Cya.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Exchanging Data among processes

2005-04-05 Thread Richard Lynch
On Mon, April 4, 2005 5:30 am, Matheus Degiovani said:
 How can I exchange data among processes (i.e. two or more users
 accessing a php webpage)? The two usual ways would be using either a
 database or file, so I was wondering if there is another, more fast
 (with reduced latency) for different pages being processed to exchange
 information.

Shared Memory.

http://php.net/shmop

Not for the faint of heart. :-)

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Exchanging Data among processes

2005-04-04 Thread Matheus Degiovani
Hello,
How can I exchange data among processes (i.e. two or more users 
accessing a php webpage)? The two usual ways would be using either a 
database or file, so I was wondering if there is another, more fast 
(with reduced latency) for different pages being processed to exchange 
information.

In other words: how (if) can I make a chat program that doesn't use 
files or databases to exchange information between users.

Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Exchanging Data among processes

2005-04-04 Thread Chris Ramsay
Matheus,
 As a start I would check out using sockets:
 http://uk.php.net/sockets
 rgds
 Chris Ramsay


Re: [PHP] Exchanging Data among processes

2005-04-04 Thread Matheus Degiovani
Hello Chris,
Matheus,
 As a start I would check out using sockets:
 http://uk.php.net/sockets
Did some experiments, and it seems this would work great. Thanks a lot! :)
The only problem is that not all (if not almost all) hosting services 
disable sockets...

Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Exchanging Data among processes

2005-04-04 Thread Satyam
Perhaps a memory based database?

http://dev.mysql.com/doc/mysql/en/memory-storage-engine.html

Might not be supported by all ISPs, though.


Matheus Degiovani [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Hello Chris,

 Matheus,
  As a start I would check out using sockets:
  http://uk.php.net/sockets

 Did some experiments, and it seems this would work great. Thanks a lot! :)

 The only problem is that not all (if not almost all) hosting services 
 disable sockets...

 Thanks. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Exchanging Data among processes

2005-04-04 Thread Matheus Degiovani
Hello Satyam,
Perhaps a memory based database?
http://dev.mysql.com/doc/mysql/en/memory-storage-engine.html
Might not be supported by all ISPs, though.
Nice tip! Thanks! :)
Cya.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php