tag:blogger.com,1999:blog-2797923531103204252.post8878657392630551808..comments2008-08-04T12:57:19.765+02:00Comments on Majek's technical blog: django-evserver - Asynchronous server for Djangomajekhttp://www.blogger.com/profile/01251411797162710066noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-2797923531103204252.post-22345036696293853102008-08-04T12:57:00.000+02:002008-08-04T12:57:00.000+02:002008-08-04T12:57:00.000+02:00There was a problem with chunk encoding on evhttp ...There was a problem with chunk encoding on evhttp (http part of libevent). The \r\n was missing.Here's my patch for this issue.Fortunately this issue was fixed in next release of libevent.majekhttp://www.blogger.com/profile/01251411797162710066noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-76177249021509238842008-08-04T10:55:00.000+02:002008-08-04T10:55:00.000+02:002008-08-04T10:55:00.000+02:00>In django-evserver I used libevent stack, which w...>In django-evserver I used libevent stack, which was buggy :P Buggy? What kinds of bugs did you find?Jon Singlerhttp://www.blogger.com/profile/13195850428870682644noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-37474412250283313612008-06-16T12:02:00.000+02:002008-06-16T12:02:00.000+02:002008-06-16T12:02:00.000+02:00> This looks very interesting. However,> I'm havin...> This looks very interesting. However,> I'm having a hard time trying to host > this using apache and mod_python. Is > this the proper way? Can you post a > (very) small tutorial?No. It must be executed as a standalone application. The project is currently abandoned, I'm waiting for somebody to pay me for developing this.majekhttp://www.blogger.com/profile/01251411797162710066noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-885582612695684392008-06-16T11:29:00.000+02:002008-06-16T11:29:00.000+02:002008-06-16T11:29:00.000+02:00This looks very interesting. However, I'm having a...This looks very interesting. However, I'm having a hard time trying to host this using apache and mod_python. Is this the proper way? Can you post a (very) small tutorial?Bogdanhttp://www.blogger.com/profile/01021944945107030069noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-25570039738868073832008-03-08T17:02:00.000+01:002008-03-08T17:02:00.000+01:002008-03-08T17:02:00.000+01:00Michael Carter said: Pyevent can be used optionall...Michael Carter said: Pyevent can be used optionally to make the network IO more efficient, but it will also work with the python-epoll module, or plain old poll or select.It means that you implemented full http stack in python which is very interesting. In django-evserver I used libevent stack, which was buggy :P New orbited seems to be worth looking.majekhttp://www.blogger.com/profile/01251411797162710066noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-60308250152043610442008-03-08T09:10:00.000+01:002008-03-08T09:10:00.000+01:002008-03-08T09:10:00.000+01:00Actually, Orbited 0.3.2 and 0.4.0aplah1 don't requ...Actually, Orbited 0.3.2 and 0.4.0aplah1 don't require pyevent anymore. It can be used optionally to make the network IO more efficient, but it will also work with the python-epoll module, or plain old poll or select.Michael Carterhttp://www.blogger.com/profile/04840627424816383146noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-74803350706888807922008-01-21T14:01:00.000+01:002008-01-21T14:01:00.000+01:002008-01-21T14:01:00.000+01:00Python 2.5.1 and it works :) on Gentoo amd64 even ...Python 2.5.1 and it works :) on Gentoo amd64 even :)Piotr Malińskihttp://www.blogger.com/profile/00054903846537875611noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-17976850533615107722008-01-21T12:40:00.000+01:002008-01-21T12:40:00.000+01:002008-01-21T12:40:00.000+01:00Piotr Maliński said: I played with Orbited.Nice to...Piotr Maliński said: I played with Orbited.Nice to hear this! As far as I know, Orbited needs Pyevent, which works only for Python 2.4. But indeed it seems that we both try to achieve simmilar thing :)majekhttp://www.blogger.com/profile/01251411797162710066noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-28985854985715379032008-01-21T10:55:00.000+01:002008-01-21T10:55:00.000+01:002008-01-21T10:55:00.000+01:00I played with Orbited. Their examples may have pro...I played with Orbited. Their examples may have problems, but I made it working without "any" problems :) I wrote a tutorial about it :)Piotr Malińskihttp://www.blogger.com/profile/00054903846537875611noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-23951452603953807352008-01-20T10:37:00.000+01:002008-01-20T10:37:00.000+01:002008-01-20T10:37:00.000+01:00zgoda said: Definitely worth looking. I'll try to ...zgoda said: Definitely worth looking. I'll try to abuse it a bit. ;)Feel invited :)Timothy said: Hahaha, you are aware this already exists right?In previous post I analyzed other possibilities of comet for python. I'm not interested in Twisted for political reasons, it looks too much like Java for me. Next reason is that django-evserver is 500 python lines in server file (mostly ctypes wrapper tomajekhttp://www.blogger.com/profile/01251411797162710066noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-61738645160460587622008-01-20T00:18:00.000+01:002008-01-20T00:18:00.000+01:002008-01-20T00:18:00.000+01:00The response time looks pretty impressive.The response time looks pretty impressive.Esajhttp://www.jasondavies.com/noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-12828917733712471422008-01-19T23:11:00.000+01:002008-01-19T23:11:00.000+01:002008-01-19T23:11:00.000+01:00Not only does twisted.web2 support WSGI - there's ...Not only does twisted.web2 support WSGI - there's already a COMET chat application demo for Twisted (using Nevow) :). It's even on Blogger.Have a look here at Duncan's blog.Glyph Lefkowitzhttp://www.blogger.com/profile/07021175796928101086noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-27502242991201944412008-01-19T21:25:00.000+01:002008-01-19T21:25:00.000+01:002008-01-19T21:25:00.000+01:00Hahaha, you are aware this already exists right? W...Hahaha, you are aware this already exists right? When you think Asynch and python, don't you think twisted?Twisted web2 has a wsgi serverhttp://twistedmatrix.com/documents/current/api/twisted.web2.wsgi.htmlTimothyhttp://avatars.imvu.com/Timothynoreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-46080857686270408522008-01-19T17:43:00.000+01:002008-01-19T17:43:00.000+01:002008-01-19T17:43:00.000+01:00Very interesting, can't wait to test it !Very interesting, can't wait to test it !Mathieu Ravauxnoreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-24005054769616391682008-01-19T16:33:00.000+01:002008-01-19T16:33:00.000+01:002008-01-19T16:33:00.000+01:00Excellent initiative! I'll try it out for sure whe...Excellent initiative! I'll try it out for sure when I find time..I've been meaning to write a libevent based WSGI server myself for a while. Guess now I don't have to :)Arnar Birgissonhttp://www.blogger.com/profile/12073820949049315334noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-75403342652897699272008-01-19T14:18:00.000+01:002008-01-19T14:18:00.000+01:002008-01-19T14:18:00.000+01:00Definitely worth looking. I'll try to abuse it a b...Definitely worth looking. I'll try to abuse it a bit. ;)zgodahttp://zgoda.pip.verisignlabs.com/noreply@blogger.comtag:blogger.com,1999:blog-2797923531103204252.post-56024674393791042242008-01-19T13:42:00.000+01:002008-01-19T13:42:00.000+01:002008-01-19T13:42:00.000+01:00Looks sweet. Thanks. I'll give it a try some day s...Looks sweet. Thanks. I'll give it a try some day soon.Niels Sandholt Buschnoreply@blogger.com