project-iris / iris

Decentralized cloud messaging
iris.karalabe.com
Other
571 stars 32 forks source link

Publish anomalies #34

Closed karalabe closed 10 years ago

karalabe commented 10 years ago

During the pubsub throughput benchmarks there are a few weird things (a lot of out of bound events, seemingly looping deliveries). It would be worth an investigation.

karalabe commented 10 years ago

Ok, the error was that the benchmarking code in the iris-go binding didn't wait for the published events to actually arrive, but rather disconnected immediately after publishing. This resulted in a gigantic set of events piling up in the relay, and getting delivered to the next attached connection.