sunnya
Joined 13 years ago
Karma
113
Submissions
25
Member since
Dec 22
http://www.ahuwanya.net
View on Hacker NewsJoined 13 years ago
There isn't any performance issues with the scenario you described. The publisher will need to use two or more clients (one for each service) and instead of calling
await clientA.GetAsync()
it will call var resA = clientA.GetAsync();
var resB = clientB.GetAsync();
...
var resAll = Task.WaitAll/Task.WaitAny(new Task[]{resA, resB});
to wait for all clients to complete.Benchmarks: https://github.com/tenor/RestBus.Benchmarks
Home page: http://restbus.org
Documentation: https://github.com/tenor/RestBus/wiki
Benchmarks: https://github.com/tenor/RestBus.Benchmarks