|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
PyAMF and Apache webserverHi,
yesterday Nick and I worked on a mod_python/pyamf app that can be used with the Apache webserver. This allows you to run your pyamf application on top of Apache, kinda like the Coldfusion flash remoting gateway running in Tomcat. I was blown away by the simplicity and easy setup, especially if you compare it to Coldfusion or Red5. We started porting the collab.nl application to PyAMF so we can stress test the library a little. If you also want to try this out, there's now a howto available on http://pyamf.org/wiki/ModPythonHowto Cheers, Thijs |
|
|
Re: PyAMF and Apache webserverHey,
Excellent use of the wsgi handler. Should be able to do it even simpler with mod_wsgi, which is kind of this "newer" version of mod_python, but constrained to wsgi apps. Arnar On Nov 30, 2007 12:21 PM, Thijs Triemstra | Collab <lists@...> wrote: > Hi, > > yesterday Nick and I worked on a mod_python/pyamf app that can be > used with the Apache webserver. This allows you to run your pyamf > application on top of Apache, kinda like the Coldfusion flash > remoting gateway running in Tomcat. I was blown away by the > simplicity and easy setup, especially if you compare it to Coldfusion > or Red5. We started porting the collab.nl application to PyAMF so we > can stress test the library a little. > > If you also want to try this out, there's now a howto available on > http://pyamf.org/wiki/ModPythonHowto > > Cheers, > > Thijs > _______________________________________________ > PyAMF dev mailing list - dev@... > http://lists.pyamf.org/mailman/listinfo/dev > |
|
|
Re: PyAMF and Apache webserverHi Arnar,
we started out with that idea but unfortunately that package wasn't available for Ubuntu 6.0.6.1 (apt-get install libapache2-mod-wsgi). I guess we could've installed it from source but this also seems to work pretty well. Do you know if mod_wsgi is faster or more stable compared to mod_python? Thijs On Nov 30, 2007, at 1:26 PM, Arnar Birgisson wrote: > Hey, > > Excellent use of the wsgi handler. Should be able to do it even > simpler with mod_wsgi, which is kind of this "newer" version of > mod_python, but constrained to wsgi apps. > > Arnar > > On Nov 30, 2007 12:21 PM, Thijs Triemstra | Collab > <lists@...> wrote: >> Hi, >> >> yesterday Nick and I worked on a mod_python/pyamf app that can be >> used with the Apache webserver. This allows you to run your pyamf >> application on top of Apache, kinda like the Coldfusion flash >> remoting gateway running in Tomcat. I was blown away by the >> simplicity and easy setup, especially if you compare it to Coldfusion >> or Red5. We started porting the collab.nl application to PyAMF so we >> can stress test the library a little. >> >> If you also want to try this out, there's now a howto available on >> http://pyamf.org/wiki/ModPythonHowto >> >> Cheers, >> >> Thijs >> _______________________________________________ >> PyAMF dev mailing list - dev@... >> http://lists.pyamf.org/mailman/listinfo/dev >> > _______________________________________________ > PyAMF dev mailing list - dev@... > http://lists.pyamf.org/mailman/listinfo/dev |
|
|
Re: PyAMF and Apache webserver
Ok I found the answer to my question, according to this page [1] "The adapter provides significantly better performance than using existing WSGI adapters for mod_python or CGI."
I'll figure out how to install mod_wsgi now, I want to test both. Thijs On Nov 30, 2007, at 1:30 PM, Thijs Triemstra | Collab wrote:
|
|
|
Re: PyAMF and Apache webserverOn Nov 30, 2007 12:36 PM, Thijs Triemstra | Collab <lists@...> wrote:
> Ok I found the answer to my question, according to this page [1] "The > adapter provides significantly better performance than using existing WSGI > adapters for mod_python or CGI." > > I'll figure out how to install mod_wsgi now, I want to test both. It is fairly easy to compile. Just make sure to aptitude install build-essentials Then when compiling mod_wsgi, just give "--with-apxs" parameter to configure and point it to the apxs2 binary. cheers, Arnar |
|
|
Re: PyAMF and Apache webserverHey Arnar,
I started a howto [1] but got stuck with the Apache vhost, the WSGIScriptAlias isn't recognized by apache. Suggestions are welcome :) Thijs [1] http://pyamf.org/wiki/ModWSGIHowto On Nov 30, 2007, at 1:42 PM, Arnar Birgisson wrote: > On Nov 30, 2007 12:36 PM, Thijs Triemstra | Collab > <lists@...> wrote: >> Ok I found the answer to my question, according to this page [1] >> "The >> adapter provides significantly better performance than using >> existing WSGI >> adapters for mod_python or CGI." >> >> I'll figure out how to install mod_wsgi now, I want to test both. > > It is fairly easy to compile. Just make sure to > > aptitude install build-essentials > > Then when compiling mod_wsgi, just give "--with-apxs" parameter to > configure and point it to the apxs2 binary. > > cheers, > Arnar > _______________________________________________ > PyAMF dev mailing list - dev@... > http://lists.pyamf.org/mailman/listinfo/dev |
|
|
Re: PyAMF and Apache webserverHi Thijs,
Regarding ModPython. You can get difficulties running ModPython alongside ModPHP. That's why I use Lighttpd + FastCGI + Django [1] [1] http://www.djangoproject.com/documentation/fastcgi/ Bye, --Rob Op 30-nov-07 om 13:21 heeft Thijs Triemstra|Collab het volgende geschreven: > Hi, > > yesterday Nick and I worked on a mod_python/pyamf app that can be used > with the Apache webserver. This allows you to run your pyamf > application on top of Apache, kinda like the Coldfusion flash remoting > gateway running in Tomcat. I was blown away by the simplicity and easy > setup, especially if you compare it to Coldfusion or Red5. We started > porting the collab.nl application to PyAMF so we can stress test the > library a little. > > If you also want to try this out, there's now a howto available on > http://pyamf.org/wiki/ModPythonHowto > > Cheers, > > Thijs > _______________________________________________ > PyAMF dev mailing list - dev@... > http://lists.pyamf.org/mailman/listinfo/dev > |
|
|
Re: PyAMF and Apache webserverOn Nov 30, 2007 3:35 PM, Thijs Triemstra | Collab <lists@...> wrote:
> Hey Arnar, > > I started a howto [1] but got stuck with the Apache vhost, the > WSGIScriptAlias isn't recognized by apache. Suggestions are welcome :) Let me try it on my vserver, I'll get back to you in a minute. Arnar |
| Free embeddable forum powered by Nabble | Forum Help |