How to implement Comet server side with Python?
        Posted  
        
            by Morgan Cheng
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Morgan Cheng
        
        
        
        Published on 2010-03-14T07:48:50Z
        Indexed on 
            2010/03/14
            7:55 UTC
        
        
        Read the original article
        Hit count: 727
        
I once tried to implement Comet in PHP. Soon, I found that PHP is not suitable for Comet, since each HTTP request will occupy one process/thread. As a result, it doesn't scale well.
I just installed mod_python in my XAMPP. I thought it would be easy to implement Comet with Python asynchronous programming. But still cannot get a clue how to implement it.
Is there any idea how to implement Comet in mod_python?
© Stack Overflow or respective owner