[go-nuts] Go protocol proxy, best practices

2016-08-25 Thread kvratkin
Hi all, I'm looking for some good practices of concurrent programming in Go. My software works and even customer satisfied :). But I feel job doesn't done perfectly. The task was to convert some well documented but proprietary protocol to Diameter with custom dictionary. But my feelings are

[go-nuts] Go protocol proxy, best practices

2016-08-25 Thread Tamás Gulácsi
Check out go4.org/syncutil for Gate to limit concurrency with ease. -- 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

Re: [go-nuts] Go protocol proxy, best practices

2016-08-25 Thread Zlatko Čalušić
Hello, it would be hard to give you a complete solution without knowing many more details about your application. So to comment on just one part, spawning goroutine, or two, per connection. It is absolutely THE correct way in Go. All those goroutines will be effectively mapped to system thre