Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make y-rb thread-safe #72

Open
2 tasks
eliias opened this issue Jan 19, 2023 · 0 comments
Open
2 tasks

Make y-rb thread-safe #72

eliias opened this issue Jan 19, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@eliias
Copy link
Collaborator

eliias commented Jan 19, 2023

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 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

@eliias eliias added the enhancement New feature or request label Jan 19, 2023
@eliias eliias self-assigned this Jan 19, 2023
@eliias eliias changed the title Thread-safe y-rb Make y-rb thread-safe Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant