On Jun 4, 2013, at 04:23 , Sky Zhao wrote: > Here is one question, > > S4 can send/receive 200,000 events/s, how s4 does it, more memory? more > nodes? more machines? > How get this big figure?
Have a look at the benchmarks subproject. (you'll need to slightly adapt the code since it uses the old API though). > I try an example by read files and send events, only 1000 events/s in one > node one machine 2g memory. This looks related to your application and the way you inject events. The reference benchmarks don't do I/O except for passing messages. How is your code like? Are you outputting on the console? How long is the run? Have you tried generating without reading from the file system? Are you using a separate injector application? Regards, Matthieu