Introduction
Before answering what is EventMachine, first I will try to explain the problem that EventMachine solves.
A network server like http server or chat server usually works in a threaded model. What it means is that on a particular port, a process is listening for connections. When a client makes a connection then this process spawns a new thread and that thread is handed over the task of responding to that client. If server is getting too much traffic then the number of threads created by the main process goes up very quickly.
Recent comments
1 week 3 days ago
1 week 4 days ago
3 weeks 3 days ago
5 weeks 5 days ago
20 weeks 3 days ago
23 weeks 3 days ago
24 weeks 1 day ago
24 weeks 1 day ago
24 weeks 3 days ago
26 weeks 5 days ago