I'm happy to see this. nginx itself is excellent software, I'll be happy to use similar tech for the application server as well (instead of uwsgi). There are a couple of options I'd like to see added to the Python configuration though before I could try it: - Ability to point it at a virtualenv. - Ability to set environment variables for the application.
lol.. nginx en-masse configuration is a nightmare. i can point to a fortune 50 company that it's destroying for relying on it. I won't name names :)
Nginx Unit
61–70 of 236 posts
Re: Nginx Unit
#62This looks pretty cool, and makes me sad that Mongrel2 never became popular. In short: Mongrel2 solves the same problem, but does it by letting your application handle requests and websocket connections over ZeroMQ instead of eg FastCGI. I guess it lost momentum when ZeroMQ did. Anyone know why? Sounds like a dream solution in the current microservice hype. http://mongrel2.org/
Wait, zeromq lost momentum ? When did that happen ?
Ended up using a Linux container on Docker to get the thing working.
Re: Nginx Unit
#63Re: Nginx Unit
#64Re: Nginx Unit
#65The concept of XUnit is so ingrained in my head that I assumed it was a unit testing framework for NGINX. The rest of the headline cleared it up of course, but I was curious for a minute how that would look. EDIT: When discussing a new product, I would think the name is a fair point of discussion. Furthermore after this thread's title changed, it now requires a clickthrough to dispel similar misunderstandings.
Re: Nginx Unit
#66Re: Nginx Unit
#67Earlier quoted context omitted.
lol.. nginx en-masse configuration is a nightmare. i can point to a fortune 50 company that it's destroying for relying on it. I won't name names :)
What does "en-masse configuration" even mean?
Re: Nginx Unit
#68Sounds like uWSGI based on the description. I wonder how it'll play along with certain environments like Kubernetes.
A properly edited book would be awesome. I would pay for it of course.
Re: Nginx Unit
#69Earlier quoted context omitted.
I have a small flask application which basically is a rest get post API server. I'm struggling to make deployment easy. With PHP, i just push to the application server and rsync that folder into var www html for Apache httpd but what would I do for flask python 3?
All too hard. Use "bottle" (I think it's much the same as flask) - you just call 'run' and it does it's thing. https://bottlepy.org/docs/dev/
You'll probably want to switch to uwsgi or gunicorn before you actually deploy anything.
I haven't actually used Bottle, but with Flask the development web server seems to fall over if a client cancels ones of its HTTP requests, for example. It's really just a simple, light thing for mucking around with.
Re: Nginx Unit
#70Earlier quoted context omitted.
When was the last time you heard something about it?
When was the last time you heard something about zlib? At a certain point - libraries are basically done. They are widely distributed, everyone knows what they are, there is no reason to talk about them but they are still maintained and heavily used.
I don't use zmq nearly has much.