News for hackers. Stuff that matters.
Re:Overview of new features in Apache HTTP Server 2.6 by Abishek_Muthian on Sunday November 21, 2021 @02:54AM (#29294836)
I've not touched any standalone web-server like Apache, nginx over past two years for my web applications because Go's built-in HTTP server is production ready. It's one of my favorite reasons to develop in Go and makes portable deployment a breeze.

Lesser number of software to run on the server has resulted in predictable performance and larger savings on cloud costs.

Re:Overview of new features in Apache HTTP Server 2.6 by vbezhenar on Sunday November 21, 2021 @03:07AM (#29294887)
What makes a server production ready?

For me the reason to use nginx is ease of configuration. Recreating that kind of configuration in code is possible, but tedious and time-consuming.

Re:Overview of new features in Apache HTTP Server 2.6 by Abishek_Muthian on Sunday November 21, 2021 @05:31AM (#29295333)
Adding to what others have said, I mentioned 'production-ready' specifically because built-in http servers in programming languages are usually for testing and are not supposed to be used in production due to poor performance e.g. Python's http server and hence you'd require a standalone http server with python or Node.js applications.

In Go you can use default http server, multiplexer and router to serve your http requests directly to your application logic. It also has support built-in for Lets Encrypt SSL certificate via autocert covering all fundamental reasons you'd want a standalone web server for your web application.

Re:Overview of new features in Apache HTTP Server 2.6 by sjtindell on Sunday November 21, 2021 @03:55AM (#29295035)
Production ready things are scalable, you can make them highly available, and they are reliable.
Re:Overview of new features in Apache HTTP Server 2.6 by nix23 on Sunday November 21, 2021 @05:13AM (#29295273)
Microsoft wants to have a word with you.