-
1. Re: How scalable is ErraiBus?
cbrock Sep 14, 2012 2:26 PM (in response to hilco)The bus itself is extremely lightweight -- it can handle millions of messages per second. The main bottleneck is the cost of marshalling. And we comfortably achieve throughput in the 100s of thousands per second on a modest server.
The bottom line: it's pretty fast.
-
2. Re: How scalable is ErraiBus?
hilco Sep 14, 2012 4:03 PM (in response to cbrock)Thank you, that's very promising.
What about memory and resource usage? How much does it cost to simply have a service available (without any messages being sent)? Is ErraiBus keeping connections open or something like that? (I suppose this really only applies to services with one endpoint on the server and the other on the client.)
-
3. Re: How scalable is ErraiBus?
cbrock Sep 14, 2012 4:05 PM (in response to hilco)1 of 1 people found this helpfulThere's only one connection which is kept open to a client, and the connection is essentially multiplexed by service name. Thus, the cost of having a service is only the cost of a string in a Map with an object pointer to the service handling callback code. It doesn't get lighter weight than that. =)
-
4. Re: How scalable is ErraiBus?
hilco Sep 14, 2012 4:26 PM (in response to cbrock)Excellent! Just what I wanted to hear. :-)