InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
|
On each host, this actor accepts new connections and distributes incoming network traffic from clients to Transaction Agents. More...
#include "Listener.h"
Go to the source code of this file.
Macros | |
#define | EPOLLEVENTS 1024 |
Functions | |
void * | listener (void *identity) |
launch Listener actor More... | |
On each host, this actor accepts new connections and distributes incoming network traffic from clients to Transaction Agents.
There is only one listener per host. It takes a small amount of coding effort to allow for multiple listeners per host. But no workload as yet (benchmarked on 12-core Xeon) has been shown to warrant multiple listeners. It's very possible that larger hosts may benefit from distributing incoming TCP/IP traffic across multiple listeners, and the effort to allow that won't be difficult to implement.
Definition in file Listener.cc.
#define EPOLLEVENTS 1024 |
Definition at line 39 of file Listener.cc.
void* listener | ( | void * | identity) |
launch Listener actor
identity | how to identify Listener instance |
Definition at line 201 of file Listener.cc.
Referenced by TopologyMgr::TopologyMgr().