Live data from Hacker News

Do svidaniya, Igor, and thank you for Nginx

nginx.com

111–120 of 366 posts

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

#111
post #76

It still surprises me that NGINX beat out Apache so quickly even though Apache had way more modules and was/is entirely free vs. NGINX which is more or less "open core" with some nice features requiring commercial licensing.

It should be remembered that NGINX is used as a reverse proxy for a lot of servers behind the scenes. That NGINX is the web server identified up front doesn't mean as much as it might because of this architectural construct. I use NGINX to front a sites that have Apache on the back end and as a result, the Internet spiders think my websites are running NGINX rather than Apache. NGINX is incredibly easy to configure a…

Granted I've done exactly this before, but why put Nginx in front of Apache? In my experience it added headaches without any real benefit.

(Unless you don't mean Apache webserver but rather some other Apache product)

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

#112

I know this is massively off-topic (have a good well paid "retirement" Igor), but I assumed that it would be written as Dos Vidaniya instead of (the correct) Do svidanyia My Russian studies is limited to listening to Sean Connery in The Russia House, and I guess I took Dos from the latin languages. Odd.

I had the same thought. I think it's more Slavic vs Germanic/Romantic. "sv", without a vowel, doesn't exist in any word I can think of. However, in Russian, consonant clusters like that are pretty common. See also, from the article, Sberbank. I'd bet there's plenty of examples in reverse too.

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

#113

It still surprises me that NGINX beat out Apache so quickly even though Apache had way more modules and was/is entirely free vs. NGINX which is more or less "open core" with some nice features requiring commercial licensing.

I remember in the early 00s WAMP/LAMP was the stack of choice in getting quickly setup for writing web applications, but configuration was often painful, especially on the Apache side. At that time I was working on hobby projects like one private server I used to administer. When Rails came out it was just a breath of fresh air compared to PHP and I distinctly remember switching to that. NGINX was also picking up steam at that time as well

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

#114
post #45

Earlier quoted context omitted.

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...

Doing Boyer and Moore proud. I think that if you want to support all verbs, you face at least 3 'ambiguities' whether you first check the first, second, or third character of the string. (It must be at most the third, as the shortest verbs are 3 characters long.) First checking the first character is ambiguous between POST , PUT and PATCH . First checking the second character is ambiguous between HEAD , DELETE , and…

Most requests in reality are GET. So if you first check for G,

  if (m[0] == 'G') {
    r->method = NGX_HTTP_GET;
      break;
  } else if (m[0] == 'P') {
    switch(m[1]) { ... }
  } else if ...
this should be fast enough.

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

#115
post #92

Fun story time: a few years back I worked at a major EU "traditional" (non-FAANG) IT company, and they were using Apache for handling web traffic. Rumour was that nginx, being already a backbone of half of internet, was dismissed as "too new" :) (we're talking mid-2010s)

Haha that reminds me of a company I worked at that used some MS library for .net.

I think it was like Microsoft.WebMatrix.Data

It essentially was a micro ORM written using dynamic but had no caching so it performed terribly with all the reflection. It was a drop in replacement to use Dapper. But dapper was dismissed due to it being “Demoware” despite it running stackoverflow. I left that place 2 weeks later.

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

#116
post #94

Earlier quoted context omitted.

It's interesting, because "svidanyie" in Russian is probably closely related to "svitani" in Czech, which means "sunrise", nothing else. But more literally "svitani" would probably translate as "meet again". Fascinating how meanings morph and sometimes the original meaning is fairly obfuscated.

it's not. it's from "videt'", to see

yeah but it's still probably related. "videt" and "vitat" (to welcome) is probably the same etymological base. and "svitat" is kinda like see again, or welcome again. But yeah, this is diggging kidna deeper in the meaning that you normally don't think of in regular use of our languages.

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

#117
post #92

Fun story time: a few years back I worked at a major EU "traditional" (non-FAANG) IT company, and they were using Apache for handling web traffic. Rumour was that nginx, being already a backbone of half of internet, was dismissed as "too new" :) (we're talking mid-2010s)

Waiting for everybody else to test the product before you migrate is perfectly common sense strategy. Especially if that product does not give you any special edge over competition.

By the mid 2010s it had definitely proved its mettle.

Arguing that it wouldn't have provided enough benefit to justify the switch is different than saying it was unproven by that point.

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

#118
post #92

Fun story time: a few years back I worked at a major EU "traditional" (non-FAANG) IT company, and they were using Apache for handling web traffic. Rumour was that nginx, being already a backbone of half of internet, was dismissed as "too new" :) (we're talking mid-2010s)

Waiting for everybody else to test the product before you migrate is perfectly common sense strategy. Especially if that product does not give you any special edge over competition.

[deleted]

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

#119
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 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.

It was believed that lighttpd leaked memory quite badly, and there was also a period of time where the development/updates on lighttpd dramatically slowed down. Both of which wasn't a concern in the early days of nginx.

https://serverfault.com/questions/330413/lighttpds-memory-le...

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

#120

Earlier quoted context omitted.

It's interesting, because "svidanyie" in Russian is probably closely related to "svitani" in Czech, which means "sunrise", nothing else. But more literally "svitani" would probably translate as "meet again". Fascinating how meanings morph and sometimes the original meaning is fairly obfuscated.

Funny, as a Ukrainian I never connected it this way, precisely for the same reason. In Ukrainian, “svitanok” means sunrise, with the root “svit” (world, but also light). In Russian, “svidanie” should have the root “vid” (view, sighting). So, to me, those are words with totally different roots :) https://ru.m.wiktionary.org/wiki/свидание points to https://ru.m.wiktionary.org/wiki/vidět in the etymology, among other th…

you see, "svit" exists in Czech too. It's used mostly as "svit slunce" meaning the light of sun. But then in broader sense "svitit" is a verb meanning "to light" - so it's fairly obvious that "to shine a light" or "a surise" or to "greet someone" are all related to "meet againt" or "see again". It's all variations of the same basically. At least it seems so, I am no linguist.
Post reply on HN