Live data from Hacker News

Nginx Unit

nginx.com

231–236 of 236 posts

Re: Nginx Unit

#231

Earlier quoted context omitted.

Yeah I had a hard time finding out what this site did.

Lol, yep: > NGINX Unit is a new, lightweight, open source application server built to meet the demands of today’s dynamic and distributed applications. That means everything and nothing. They wasted their intro sentence on it. They probably don't have a very good idea of what it is either.

While it is a fluffy marketing sentence, it seems clear to me. It's an application server.

Then the next section explains that you can run different kinds of applications and even different versions of the base software like different versions of PHP or python all in the same server.

Re: Nginx Unit

#232
post #180

Earlier quoted context omitted.

I thought PushPin was based on Qt?

It's multi-process. The core logic is a Qt application, but it delegates the external protocol I/O to separate processes. Mongrel2 handles inbound and Zurl handles outbound (Zurl is a project of ours that is basically the inverse of Mongrel2).

Parts of mongrel2 were sadly a solution in search of a problem. Mostly the "let's redo FastCGI via ZMQ". Was still immensely fun working on and with it.

Re: Nginx Unit

#234

Earlier quoted context omitted.

Dunno, I spent close to a week trying to get it to compile with and without encryption on Windows to no avail. Ended up using a Linux container on Docker to get the thing working.

That is troubling. I always thought of zeromq as having as good Windows support as anything not written exclusively for Windows.

So did I, that's why I selected it. Did my development on OSX and Linux and thought that deploying a static binary on Windows would be a breeze.

It wasn't, turned out to be a Class 4 hurricane :P

Re: Nginx Unit

#235

Earlier quoted context omitted.

That is troubling. I always thought of zeromq as having as good Windows support as anything not written exclusively for Windows.

So did I, that's why I selected it. Did my development on OSX and Linux and thought that deploying a static binary on Windows would be a breeze. It wasn't, turned out to be a Class 4 hurricane :P

Looks like there is a path hardcoded in the build files causing problems. After some reflection on the msvc/README, renaming the project directory to libzmq (was: zeromq-4.2.2 from the release or libzmq-master from github zip download), and launching cmd.exe using the Developer Command Prompt for VS2015 link, libzmq/builds/msvc/build/build.bat successfully builds all configurations.

Re: Nginx Unit

#236

Earlier quoted context omitted.

I'm using it for a project now. It's a bit weird, but it does work. Cool thing: you can slot a file descriptor into the zmq provided poll ... point is that you can poll on both zmq and sockets in the one loop. Pro Tip: Use 'cbor' for serialising.

Thanks for the tip. In which language(s) do you use CBOR? I want to like it, but the various C APIs look a bit cumbersome and lacking docs.

Python 3.
Post reply on HN