JavaScript is expanding at a great speed. Did you hear about new Nginscript, a JavaScript runtime to be used by Nginx? What do you think? Is using JS on the proxy side a good move?
I think it's worth a try to see what we can come up with.
Many configuration settings and data-flow is now statically modeled in config files, which might be more easily shaped using dynamic scripting. Guess we'll find out in the future :)
Sébastien Portebois
Software architect at Ubisoft
Hello
I think it's quite a smart move from the nginx team.
Their approach to build another javascript runtime makes a lot of sense to me. There's the need to define even more complex logic, and we all like to avoid to see again one more exotic language/format to define that. So using an existing and popular language like javascript makes a lot of sense. Then the specificity and constraints of the context (like short-lifetime, ultra fast initialization) and the goal of the scripts that might be run be a proxy are definitely not the same than in a client browser on for some server logic, and using a new runtime (rather than v8 or similar) makes again a lot of sense.