Backlog #3676
Change the concurrency model of drivers
Status: | Pending | Start date: | 03/12/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Drivers - VM | |||
Target version: | - |
Description
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.