Search

Suggested keywords:
  • Java
  • Docker
  • Git
  • React
  • NextJs
  • Spring boot
  • Laravel

Rust can now be used to write NGINX Modules

  • Share this:
post-title

Nginx is a high performance and most widely used Web server, Reverse proxy server and Load balancer. F5 acquired Nginx and supports its developments. 

Rust language is gaining more adoption in system programming and replaces C language. Developers adoption rate for Rust is more and C language developers are mostly old timers. 

Nginx has a module framework and it can be extended for custom functionality. Nginx modules should be written in C. For example, your organization has an inbuilt authentication and if your want to support the authentication in Rest APIs you can have a Nginx module which parses the auth header, validates it and allows only the authenticated users. This is just an example. Here is the list of third party modules.

F5 understands the growing popularity of Rust and it tries to leverage it. Nginx recently announced that Rust can be used to write Nginx modules. They have released ngx-rust project which is a framework or base to support Rust in Nginx. For more guidance, refer to ngx-rust-howto repo. 
 
It is really good decision of F5 to support Rust in Nginx eco system.

Editorial Team

About author
This article is published by our editorial team.