EEP ---------------- Embedded Event Processing

Embedded Event Processing 

参考:https://github.com/clojurewerkz/meltdown

先解释下Reactor

Reactor is afoundational librarybuilding for reactive fast data applications on the JVM. It provides abstractions for Java, Groovy, Clojure and other JVM languages to make building event and data-driven applications easier. It’s also really fast. On a recent laptop with a dual-core processor, it's possible to processover 15,000,000 events per second with the RingBufferDispatcher andover 25,000,000 events per second in a single thread. Other dispatchers are available to provide the developer with a range of choices fromthread-pool style, long-running task execution to non-blocking, high-volume task dispatching.


测试:https://github.com/clojurewerkz/meltdown/blob/master/test/clojurewerkz/meltdown/throughput_test.clj

This (basic) benchmark suggests Meltdown can do more than 10M messages/second on a 2013 MBP





.......

你可能感兴趣的:(java,架构)