Rocket is a multithreaded server and pandas is not thread safe (http://pandas.pydata.org/pandas-docs/stable/gotchas.html) be very careful with it.
On Tuesday, 16 August 2016 13:19:42 UTC-5, Dave S wrote: > > > > On Tuesday, August 16, 2016 at 8:50:51 AM UTC-7, Jim S wrote: >> >> Hi >> >> I currently have my app deployed using Ubuntu 14.04 / nginx / uwsgi. I >> have a couple of servers load-balanced behind a haproxy server. I'm >> running ssl on the haproxy system and talking http to web2y through >> nginx/uwsgi. >> >> Now, I'm trying to upgrade ubuntu to 16.04 and an having issues with >> pandas (used in my web2py app) through the nginx/uwsgi stack. See this >> issue for what might be causing it - >> http://stackoverflow.com/questions/19439190/segmentation-fault-while-using-pandas-in-uwsgi >> >> Fixing this error is obviously something beyond my capabilities so it got >> me thinking about alternative deployment options. One that I'm considering >> is replacing my nginx / uwsgi stack with just the rocket server to serve >> the web2py app. My rocket servers (2 of them) would be behind the haproxy >> server so would not be public-facing. >> >> I'm aware of the recommendation against running rocket in a production >> environment but am not aware of the reasons for the recommendation. >> >> My question - does running multiple rocket servers behind haproxy remove >> the concerns about rocket in a production environment? >> >> -Jim >> > > > I'm not familiar with Pandas, so I can't comment on that part. I run > rocket, but only a single instance as a development environment. Perhaps > Mariano and Massimo have tested other configurations, but I think the bulk > of us using rocket only run a single instance. > > What are the specific rocket concerns? Scaling? > > /dps > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.