Using Go's HTTP server for production -
i'm php developer new golang. php comes inbuilt server not recommended production. read beautiful book astaxie on web development in go , golang.org example on writing web app. both use http.listenandserve()
create web server. want know if server can used in production or dummy server php inbuilt server? production mean, can handle huge traffic apache or ngnix server?
short answer: yes.
longer answer: can use built in web server production traffic. there's chance you've used today, since google serves traffic using it. know lot of companies, including 1 work use production traffic. btw don't know of web server used in go not use standard web server.
keep in mind though need tweak things client timeouts make robust, , perhaps limit incoming connections, etc.
Comments
Post a Comment