What is EventMachine? EventMachine is a library for Ruby, C++, and Java programs. It provides event-driven I/O using the Reactor pattern. EventMachine is designed to simultaneously meet two key needs: Extremely high scalability, performance and stability for the most demanding production environments; An API that eliminates the complexities of high-performance threaded network programming, allowin