> im thinking you probly dont need a database unless you want to preserve
chat history.
i don't think chat history is necessary. but i need to keep some of the user
chat session
right?

> but honestly, id really think about what youll be using the database for
here..
well, i am still thinking :) .. if it is possible not to use database at all
it is better.

>hmm;  well you need to make the client side smart.. like dont actually fire
off an http request >as often if the last 3 queries all resulted in no new
message.
i did ask google. one way is to use a counter. if no new message, then
increase the counter.
On the other hand, reset the counter to zero. the counter multiple with the
request time will
make the request slower.

anyone ever make use of /dev/shm on any php project?

Reply via email to