Hi, i have one idea, for programs (scripts) that run for a very long
time, and need to check for the same variable on memcached server
multiple times, to be able to tell server: tell me when a certain
variable changes...

For example: If we want to make an ajax chat server, then we could
make ajax request hang in background until someone writes something...
or, until some variable changes, in this case a loop getting a same
variable is required, and implementing this option in protocol would
decrease trafic, because client would not ask server over and over
again the value of that variable, but instead would wait for server to
tell him ...

I think this would be best solution for chats and something like that,
if there is some other way that i don't know of, please let me know,
because I need it :)

Thank you ! :)

Reply via email to