How to implement Comet in database side?
- by Morgan Cheng
I have been searched for this question for a long time. How to implement Comet in database side?
To support Comet, we'd better have a web server stack that supports asynchronous operation. So, Apache is not a option. There are some open source web server such as tornado can do asynchronous http handling. This is in web server level.
In database level, how to make web server know that some event happens in database? There should be a asynchronous way to let web server know that something updated in database. Polling is not a option.
Is there any example available?