1. An apparatus comprising: an application module to accept a file transfer request from a client application; and a sendfile module, coupled to the application module, the sendfile module executable by a processor to: assign a first worker thread to transfer a requested file to the client application; detect an idle time of the first worker thread; and assign the file transfer request to a shared poller thread shared by a plurality of file transfer requests and release the first worker thread in response to detecting the idle time.