-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks for your reply Alessandro (and for all the work done on TG), I'll try waitress.
Regards, - -- Jean-Denis Girard SysNux Systèmes Linux en Polynésie française http://www.sysnux.pf/ Tél: +689 50 10 40 / GSM: +689 79 75 27 Le 27/02/2014 10:58, Alessandro Molina a écrit : > gearbox:gevent suffers from the same constraints as Gevent, is a > perfectly viable option if you are sure that your application is able to > work in an asynchronous environment (no cpu bound operations, async > drivers for DB and so on...). If you want to replicate the same deploy > you have don Paste you can actually use Paste#http itself or waitress#main > > I would probably suggest you have at look at Waitress as it is a more > future proof solution: http://waitress.readthedocs.org/en/latest/ > Long story short, just set: > > [server:main] > use = egg:waitress#main > > and you are on waitress (make sure you have waitress as a dependency of > your application) > > > On Thu, Feb 27, 2014 at 5:40 PM, Jean-Denis Girard <[email protected] > <mailto:[email protected]>> wrote: > > Hi list, > > I started porting an application from tg-2.2+tw-1 to tg-2.3+tw-2. My > question is about deployment. My application is used internally only, > with low traffic; so in the past (tg-2.2), I deployed using the Paste > server behind a reverse proxy (Apache or Nginx). I'm a bit confused by > the new Gearbox. I understand that gearbox:wsgiref should not be used > for production. I would like to avoid mod_wsgi. I tried gearbox:gevent, > which seems to run fine; is it a viable option for production, if put > behind a reverse proxy (Apache or Nginx)? > > > Thanks, > > -- > You received this message because you are subscribed to the Google > Groups "TurboGears" group. > To unsubscribe from this group and stop receiving emails from it, > send an email to [email protected] > <mailto:turbogears%[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/turbogears. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > You received this message because you are subscribed to the Google > Groups "TurboGears" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/turbogears. > For more options, visit https://groups.google.com/groups/opt_out. -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlMQs6oACgkQuu7Rv+oOo/httACfbE1GCenfaGuBVAf9LfoIQQ+L G0sAoIP1xGI+abCGiDvtpXWn6JIKghO5 =aV1s -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/groups/opt_out.

