On Thursday, 14 July 2016 17:41:32 UTC+3, EdgarAlejandro Vintimilla wrote: > > Thanks, basically is a GPS that sends data to the server. It's for a fit > traker. > > What is the best way to put into producción this server?
There are probably few important things to consider: 1. use encryption (you are transferring personal information and it needs to be protected) 2. use compression (you are on a mobile device, i.e. low speed and high price) 3. ensure that you have some fault tolerance (and ensure that device can record locally and sync later in case of network failures) I would use regular HTTPS instead of a raw TCP server, it has most of those properties and Go has a solid http.Server. But, it really doesn't matter as long as you have those 3 properties. I would even consider things such as "AWS Lambda" to avoid managing servers, but that entirely depends on how much information you need to download/upload. I think there should be Go REST tutorials so you can look up those. + Egon -- 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. For more options, visit https://groups.google.com/d/optout.