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

Evaluate exchanging Actor with Worker as cell backend #47

Open
themue opened this issue May 10, 2024 · 0 comments
Open

Evaluate exchanging Actor with Worker as cell backend #47

themue opened this issue May 10, 2024 · 0 comments

Comments

@themue
Copy link
Member

themue commented May 10, 2024

Worker allows larger dynamic queues and improved graceful shutdown than Actor. But it needs another goroutine. So in larger cell models the number of infrastructure goroutines would double. So effect on memory and performance regarding ops/sec has to be compared.

Alternatively a Cell could work with native language syntax and use individual goroutines to connect to it's subscribes. Those could use the same mechanism as the simple worker queue.

@themue themue added this to the v0.7.0 milestone May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant