Backlog #3676

Change the concurrency model of drivers

Added by Javi Fontan over 6 years ago.

Status:PendingStart date:03/12/2015
Priority:NormalDue date:
Assignee:-% Done:


Category:Drivers - VM
Target version:-


Right now the drivers create a new thread for each action they execute. This was OK for ruby 1.8 as it used green threads and they are really cheap. From 1.9 and upwards real threads are used and the creation is more expensive. This make the driver slower for a high amount of tiny actions.

The proposed solution is creating a thread pool where the threads will be reused for new actions.

Also available in: Atom PDF