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]>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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,
> - --
> 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
> -----BEGIN PGP SIGNATURE-----
>
> iEYEARECAAYFAlMPamoACgkQuu7Rv+oOo/hAJACgjIBQ7jebkzwnmd5h/SmAl7wo
> W1sAoJ7nJ3Zm5bik2X9FFRV/M/b7997O
> =+mNJ
> -----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.
>

-- 
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.

Reply via email to