Live data from Hacker News

Do svidaniya, Igor, and thank you for Nginx

nginx.com

351–360 of 366 posts

Re: Do svidaniya, Igor, and thank you for Nginx

#351
post #45

Earlier quoted context omitted.

I mean there was lighttpd before nginx and they have/had pretty similar structures, weights, etc. I feel like I knew at one point why it got so thoroughly supplanted by nginx but I don't remember now why that happened.

The performance engineering in NGINX back then was really quite something. This classic 2007 tutorial starts by pointing out that NGINX parses the HTTP verb by looking at the second letter first, so that if it's O it knows to check for POST or COPY! https://web.archive.org/web/20070505051653/http://www.riceon...

For who want to check current implementation: https://github.com/nginx/nginx/blob/429150c1fa78317bdb19de38...

Re: Do svidaniya, Igor, and thank you for Nginx

#352

Earlier quoted context omitted.

> This trick only works if the architecture supports unaligned memory access Presumably then it's relying on undefined behaviour.

pretty sure it's just implementation defined. In the sense that the implementation defines the allowed alignment, if nothing else (ie. on x86 the allowed alignment is 1 byte even if that's not optimal).

I don't think so. What I can find on this topic with a quick search points to it being outright UB.

https://stackoverflow.com/a/47622343/

https://stackoverflow.com/a/28895321/

https://blog.quarkslab.com/unaligned-accesses-in-cc-what-why...

Re: Do svidaniya, Igor, and thank you for Nginx

#353

Earlier quoted context omitted.

I mean there was lighttpd before nginx and they have/had pretty similar structures, weights, etc. I feel like I knew at one point why it got so thoroughly supplanted by nginx but I don't remember now why that happened.

The difference is that nginx really works. I had Panoramio, a photo website featured in Google Earth / Maps, using Apache. It started to fail down under load, and I quickly switched to lighttpd. It was faster but crashing, getting OOM, etc. I fixed a memory leak and a few more bugs, but it still crashed every now and then and I looked for alternatives. This was 2006 and nginx was the only realistic alternative on the…

Thanks for making Freepik

Re: Do svidaniya, Igor, and thank you for Nginx

#354
post #98

Earlier quoted context omitted.

On the contrary, I find etymological explanations often most enlightening. Although, I am fully aware that it might just be an origin of a word or a phrase and not the contemporary meaning. Your argument sounds defeatist to me. To paraphrase it: since the 'actual meaning' alone is not a perfect explanation we should not even try to understand the roots of words and their heritage. Then you can stop understanding the…

Your paraphrase sounds more like some hypothetical argument you'd like to take engage in, not anything I actually wrote.

Well, if that was not your intention, I am sorry. But it was my honest understanding of what you wrote.

Re: Do svidaniya, Igor, and thank you for Nginx

#355
post #9

Earlier quoted context omitted.

On the other hand, the unreadable weird-ass pseudo-XML configuration files of Apache made anyone touching them wish for something better. I also expect ngx_lua did a lot for adoption, the fact that you could always "shell out" to lua if you needed was a huge boon even just for peace of mind.

To be fair NGINX config is not better. An ad-hoc grown soup of syntax without a clear concept to govern it all. I would prefer a simple JSON file any day. Or some Lispy S-expressions. Or some TOML or well structured XML and XSD even. NGINX makes you learn another lang only for one tool and for a config, which mostly (always?) does not need anything more than being declarative config.

No JSON, please. You can't have comments. A JSON config would a deal-breaker for me to use a server.

Re: Do svidaniya, Igor, and thank you for Nginx

#356
post #7

I really take for granted how well Nginx works across a number of web backend functions. Some of the container/orchestration world has tried to supplant the need for it as a reverse proxy, but you get so many goodies out of the box just by sticking this in front of your app, and for very little overhead. I remember the pre-Nginx days and all of the struggles people routinely ran into with options like Apache or other…

I’m sure that when it was only Nginx and Apache for reverse proxy options it was the only way to go, however, these days for rev proxy, I prefer HAProxy for enterprise and Caddy for personal stuff..

Use Caddy for enterprise stuff, too. Enterprise deployments deserve memory safety, too.

Re: Do svidaniya, Igor, and thank you for Nginx

#357
post #294

Earlier quoted context omitted.

Definitely. I've founded and grew several webhosters, one specialised in WordPress. Our HTTP stack was varnish->nginx(loadbalancer)->nginx->phpfpm. It was pain. Not even WordPress core could (can?) run all its features; e.g. the SEO-friendly-URL thing relied (relies?) heavily on - I kid you not - rewriting the .htaccess file from the CMS: really: the CMS rewriting webserver configuration files from the web. Let alone…

I don't recognize anything about the WP Apache marriage.

With nginx becoming more popular this may have changed.

But I just looked, and the official lesson on "installing wordpress" mentions only Apache[0]. As does the "how to install WordPress"[1]. Though checking a recent download, I see that it no longer ships with .htaccess by default, so apparently things are changing.

[0] https://learn.wordpress.org/lesson-plan/local-install/ [1] https://wordpress.org/support/article/how-to-install-wordpre...

Re: Do svidaniya, Igor, and thank you for Nginx

#358

Earlier quoted context omitted.

I don't think so. From what little Russian I know, the original is до свидания, with an O, but in most dialects an unstressed O is pronounced A: https://en.wikipedia.org/wiki/Russian_phonology#Unstressed_v...

It's even more convoluted than that. Due to vowel reduction, unstressed o is pronounced as a, but до is one syllable so the o is stressed. When pronouncing до separately, it would definitely be pronounced as do, but до свидания is always said quickly as if it was one word, so the до turns into an unstressed syllable. As a side note, Russian pronunciation is remarkably uniform compared to languages like English. Diale…

Interesting, thank you. Years ago I tried to learn Russian by myself, but it was quite difficult and I was too busy with other stuff. I hope one day I can learn it.

Re: Do svidaniya, Igor, and thank you for Nginx

#359
So reading between the lines, the commercial aspirations won out over the core ideals of the creator who is now being pushed out completely, likely with some form of compensation package to not make a big fuzz, so they can now dive headfirst in a pool of money while abandoning any open source ideals?

So natural question, how long until they start squeezing more money out of users and how severe will it be for hobbyists and small companies?

Re: Do svidaniya, Igor, and thank you for Nginx

#360

Earlier quoted context omitted.

It's worse than that, the first thing that I scanned in the article is if he is alive. A title like that without a pre-defined context more often, in my native Russian perception, could mean much worse that just leaving a company. I'm glad he's doing well, I really enjoy NGINX as a casual user. It is a great gift to people. Удачи (good luck) or всего хорошего (best wishes) would not trigger such a reaction to scan th…

maybe they've updated, but the fourth paragraph is currently "we announce today Igor has chosen to step back..." which would seem to imply "not dead". but given the tone of the first three paragraphs i think even that is a bit too late in the post to clarify.

Yeah, but that's like the fourth paragraph.

I know hardly any Russian, only about enough to recognise "da svidanja" as "goodbye", so I'm not sure "in what language" I digested the headline (=link here on HN) -- probably a bit of all of my eclectic blend of European ones... But to me it certainly felt fifty-fifty whether it was a "changed jobs" or a "dearly departed" post. Checking which it was probably constituted my main reason for clicking through.

Post reply on HN