014.02.14.2.Discuss the differences in handling connections between TCP and UDP servers, especially focusing on the system overhead associated with the fork() system call and why some high-performance TCP servers, like Apache, might pre-create worker processes upon startup.
Calling fork adds an additional system overhead. To avoid this high-performance TCP servers such as Apache servers create a number of processes upon startup so they're available to handle connections as needed. UDP servers don't need to fork, as they don't have any connections to listen to, they simply recieve data and react to it.