[go-nuts] Re: Web development with Go
Applications whether single page or multiple pages do need to communicate with some sort of back-end to get their data and perform business logic. They need something to serve their AJAX requests. And Go is a useful language for writing such back-ends. On Monday, 7 February 2022 at 07:54:38 UTC merson...@actmedical.com.au wrote: > Of course, Brian. > I meant the CA Certificates. > Merson > > On Saturday, February 5, 2022 at 8:11:49 PM UTC+11 Brian Candler wrote: > >> On Saturday, 5 February 2022 at 00:05:18 UTC merson...@actmedical.com.au >> wrote: >> >>> the same app >>> rewritten in Go reduces the size by a huge amount as the only thing you >>> need to include in a scratch base image is the binary plus >>> some certificates. >>> >> >> I wouldn't put certificates into a container image either, and definitely >> not the related private keys. I'd store them as kubernetes Secrets and >> provide them to the container that way. It reduces the exposure of the >> private keys, and allows certificates to be replaced without rebuilding the >> image - e.g. to deploy the same container in two different places. >> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/2db6f575-699a-4497-b1e2-8153d208c848n%40googlegroups.com.
[go-nuts] Re: Web development with Go
Of course, Brian. I meant the CA Certificates. Merson On Saturday, February 5, 2022 at 8:11:49 PM UTC+11 Brian Candler wrote: > On Saturday, 5 February 2022 at 00:05:18 UTC merson...@actmedical.com.au > wrote: > >> the same app >> rewritten in Go reduces the size by a huge amount as the only thing you >> need to include in a scratch base image is the binary plus >> some certificates. >> > > I wouldn't put certificates into a container image either, and definitely > not the related private keys. I'd store them as kubernetes Secrets and > provide them to the container that way. It reduces the exposure of the > private keys, and allows certificates to be replaced without rebuilding the > image - e.g. to deploy the same container in two different places. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/8e1a259f-3590-46d3-8db6-cba60fe86907n%40googlegroups.com.
[go-nuts] Re: Web development with Go
On Saturday, 5 February 2022 at 00:05:18 UTC merson...@actmedical.com.au wrote: > the same app > rewritten in Go reduces the size by a huge amount as the only thing you > need to include in a scratch base image is the binary plus > some certificates. > I wouldn't put certificates into a container image either, and definitely not the related private keys. I'd store them as kubernetes Secrets and provide them to the container that way. It reduces the exposure of the private keys, and allows certificates to be replaced without rebuilding the image - e.g. to deploy the same container in two different places. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/ebf39aae-aeee-4272-8824-45f9bc17c199n%40googlegroups.com.
[go-nuts] Re: Web development with Go
Hi Merson. What wonderful improvements. Thanks a lot for your contribution. Paulo. Em sexta-feira, 4 de fevereiro de 2022 às 21:05:18 UTC-3, merson...@actmedical.com.au escreveu: > Paulo > > An important use case is when packaging your app in a container for > deployment in Kubernetes or Google Cloud Run, for e.g.. > Compared to an app written in Php where you have to package the framework > code into the container, the same app > rewritten in Go reduces the size by a huge amount as the only thing you > need to include in a scratch base image is the binary plus > some certificates. > > Also, the memory requirement to run the app is much less. > > One of my app's size was reduced from 600Mb(php) down to 20Mb(Go)!! > Also, memory requirement reduced from 1024Mb to 128Mb on Google Cloud Run, > thus saving a lot of money! > > Merson > On Friday, February 4, 2022 at 11:51:26 AM UTC+11 pauloaf...@gmail.com > wrote: > >> Hi all. >> >> I hope you are well. >> >> What are the main use cases for traditional web applications (I mean >> non-SPA) development with Go? In other words, in a world of Single Page >> Applications (SPA) and its frameworks (such as Angular, React, Vue, so on) >> where does Go have space? >> >> Best regards. >> Paulo. >> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/28a4fda9-8b8c-425b-9f41-96f0efc142d4n%40googlegroups.com.
[go-nuts] Re: Web development with Go
Paulo An important use case is when packaging your app in a container for deployment in Kubernetes or Google Cloud Run, for e.g.. Compared to an app written in Php where you have to package the framework code into the container, the same app rewritten in Go reduces the size by a huge amount as the only thing you need to include in a scratch base image is the binary plus some certificates. Also, the memory requirement to run the app is much less. One of my app's size was reduced from 600Mb(php) down to 20Mb(Go)!! Also, memory requirement reduced from 1024Mb to 128Mb on Google Cloud Run, thus saving a lot of money! Merson On Friday, February 4, 2022 at 11:51:26 AM UTC+11 pauloaf...@gmail.com wrote: > Hi all. > > I hope you are well. > > What are the main use cases for traditional web applications (I mean > non-SPA) development with Go? In other words, in a world of Single Page > Applications (SPA) and its frameworks (such as Angular, React, Vue, so on) > where does Go have space? > > Best regards. > Paulo. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/26019f16-53b7-486d-9d7f-fc289bceb35en%40googlegroups.com.