You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
y-rb is not thread-safe. Originally I thought there are no use cases where concurrency patterns need to be supported, but it is relatively easy to shoot yourself into the foot when using y-rb with ActionCable in Rails. In particular, the combination of update events (attach(…)) with worker pools cause some issues (I get segfaults here and then).
To do
Set up a test case that somewhat deterministically fails within a multithreaded environment
Problem
y-rb
is not thread-safe. Originally I thought there are no use cases where concurrency patterns need to be supported, but it is relatively easy to shoot yourself into the foot when usingy-rb
with ActionCable in Rails. In particular, the combination of update events (attach(…)
) with worker pools cause some issues (I getsegfaults
here and then).To do
The text was updated successfully, but these errors were encountered: