Nginx Unit
91–100 of 236 posts
Re: Nginx Unit
#92Earlier 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 :)
So they deployed a bad config file to all nodes and restarted the service, which then failed to start. How is this specific to Nginx? This same mistake is possible with any other software ever written.
Re: Nginx Unit
#93Sounds like uWSGI based on the description. I wonder how it'll play along with certain environments like Kubernetes.
Same. I really want to like (and use) uWSGI, for many reasons, but I find it's lacking severely in the department of documentation (searching "uwsgi" on Amazon gives zero hits!). A properly edited book would be awesome. I would pay for it of course.
Re: Nginx Unit
#94Re: Nginx Unit
#95Re: Nginx Unit
#96Looks to be a good candidate to replace omnipresent nginx based API routers
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?
If you are only looking to deploy your python code (and nginx/apache is constantly running on the server), then follow these steps
1. install docker on server 2. create an account on https://hub.docker.com/ 3. https://docs.docker.com/engine/swarm/stack-deploy/#deploy-th...
your docker workflow in the future looks like this: 1. test the application on your laptop inside a docker container 2. push container to docker hub 3. "docker update" your stack
Re: Nginx Unit
#97Earlier quoted context omitted.
You seem to be very experienced in this area. Can you explain a bit about why you think an "app server with microservice orchestration" is needed?
because you can work with individual microservices across clusters without a ton of overhead (or use a monolithic app server), aiding in deployment, rollback, debugging, development.
Re: Nginx Unit
#98This 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 ?
Before that, I used to hear people talking about it all the time.
Re: Nginx Unit
#99So in my Flask app this would replace gunicorn?
Re: Nginx Unit
#100Is this similar to openresty ? Instead of Lua - python, go and php? Or something different?
The REST API part of it is for updating its configuration over HTTP.