▲ | innocentoldguy 6 days ago | |||||||||||||||||||||||||||||||||||||||||||
This is probably because C NIFs run in the same process as the Erlang scheduler. If you have a long-running or blocking NIF, it can starve the scheduler and cause significant performance degradation across the system. | ||||||||||||||||||||||||||||||||||||||||||||
▲ | natrys 6 days ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||||||||
I think they now have "dirty" NIFs that use a separate scheduler for this. | ||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
▲ | hinkley 6 days ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||||||||
I wonder if there's space for a libuv inspired solution now. | ||||||||||||||||||||||||||||||||||||||||||||
|