Since Igor Sysoev created NGINX, he wanted the ability to run scripts inside the server. With the development of nginScript, and it's unveiling last summer, it has now arrived in beta form. The choice to use JavaScript as a base instead of something like LUA or Perl was based soely on popularity (if you check statistics on github it is ranked number one). However this opens up a brand new avenue of possiblities; namely lack of garabage collection and the ability to preempt your VMs.
You can download the module here to play around with, check out the nginScript wiki, and there is also a very helpful blog post written by the master himself detailing how and when to utilize nginScript.
You have to login to post a comment.
Comments