Server Structures
Thread-Based---on-demand or pre-forked. (
encompasses both threads and processes
).
Don't scale well due to thread overhead.
Event-Based---need an interest set of network connections (file descriptors (fds)).
Don't scale well to multiprocessors.
Hybrid-Scheme---a bit of both. In either case need an efficient event handling mechanism.