Re: [go-nuts] OS-threads and what they do

2016-08-23 Thread Lars Kulseng
I have read some discussion on the release of OS-threads and it seems like a difficult problem to solve. I don't think this comes up as a problem too often though. Perhaps in very resource-limited systems? tirsdag 23. august 2016 23.39.28 UTC+2 skrev Dave Cheney følgende: > > Approximately yes.

Re: [go-nuts] OS-threads and what they do

2016-08-23 Thread Lars Kulseng
-number of executing threads. Therefore, the number of threads above GOMAXPROCS is a product of how much simultaneous blocking/cgo/syscalls are performed. tirsdag 23. august 2016 15.21.07 UTC+2 skrev Ian Lance Taylor følgende: > > On Tue, Aug 23, 2016 at 1:54 AM, Lars Kulseng &

[go-nuts] OS-threads and what they do

2016-08-23 Thread Lars Kulseng
I have tried to find some onformation about how OS-threads are created, and what their roles are. I know that this doesn't really matter in a lot of cases since goroutines are multiplexed on top of OS-threads and they are usually created at startup of the program, but I'm just trying to underst

[go-nuts] Re: TCP Server

2016-07-19 Thread Lars Kulseng
If it is possible to go the HTTP-route, you may also want to consider using WebSockets, as it uses bare TCP-protocol for transporting data, but with a HTTP-handshake. That way you can avoid the overhead that HTTP adds, and you could stream the data from you device to your server. mandag 18. j