3 ms·
> A quiet but incredibly innovative corner of the NGINX universe is NGINX JavaScript (njs), which enables developers to integrate JavaScript code into the event
by perlgeek 4y ago
> A quiet but incredibly innovative corner of the NGINX universe is NGINX JavaScript (njs), which enables developers to integrate JavaScript code into the event‑processing model of the NGINX HTTP and TCP/UDP (Stream) modules and extend NGINX configuration syntax to implement sophisticated capabilities.
That sounds pretty similar (in spirit, at least) to mod_perl etc. in Apache.
Does anybody happen to know a writeup that compares the two?
- excitom 4y agoNGINX has a perl module dating back to the early days, very much like Apache mod_perl. The njs module just gives you a more modern language option.