英文:
Is the Go language built-in http server a production server?
问题
我在文档https://golang.org/pkg/net/http/中没有看到那个答案。
这个文档看起来相当完整,但通常我发现内置的网络服务器(如Python、PHP等)除了开发之外,很少被推荐使用。
英文:
I did not see that answer in the documentation, https://golang.org/pkg/net/http/.
It seems pretty complete, but typically I find the built in web servers are never recommended, such as Python, PHP, etc., for anything but development.
答案1
得分: 1
是的。如果您将其用作生产服务器,那么它就是一台“生产”服务器。没有理由不这样做。它的设计初衷是供您用于真正的生产应用,而不仅仅是用于测试和玩弄语言。
英文:
Yes. It is a 'production' server if you use it as such. There is no reason why you would not. It is was made with the intent of you using it for real production applications, not just for testing and playing around with the language.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论