Re: The Go electron API: a tale of two brokers.

2015-10-23 Thread aconway
An interesting lesson I learned building these brokers, this is more about the Go language than the differences between the proton and electron APIs: Go channels encourages proper flow control: they cannot be unbounded and sending to a full channel blocks until a value is removed. Both Go brokers

The Go electron API: a tale of two brokers.

2015-10-22 Thread aconway
The Go binding for proton provides 2 alternate APIs, `proton` is an exact analogue of the event-driven proton C API and `electron` which is a more go-oriented, procedural API. The differences were motivated by the concurrency features of the Go language but there may be lessons to learn for other l