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

How does it work on multiple nodes? #41

Open
adampash opened this issue Jan 12, 2024 · 3 comments
Open

How does it work on multiple nodes? #41

adampash opened this issue Jan 12, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@adampash
Copy link

Let's say I have a cluster of 5 different nodes, all running walex. What would happen in that scenario? Would they all trigger when an event was published? Do they round robin them? Something else more clever? Etc.?

Great project, appreciate it.

@cpursley
Copy link
Owner

Good question @adampash - let me do some testing and get back to you on this.

@cpursley
Copy link
Owner

cpursley commented Jan 12, 2024

It seems like no:

NOTICE 2024-01-12 12:13:54.034 [notice] Application services exited: Services.Application.start(:normal, []) returned an error: shutdown: failed to start child: WalEx.Supervisor
INFO    ** (EXIT) shutdown: failed to start child: WalEx.Replication.Supervisor
INFO        ** (EXIT) shutdown: failed to start child: WalEx.Replication.Server
INFO            ** (EXIT) :function_clause
INFOKernel pid terminated (application_controller) ("{application_start_failure,services,{{shutdown,{failed_to_start_child,'Elixir.WalEx.Supervisor',{shutdown,{failed_to_start_child,'Elixir.WalEx.Replication.Supervisor',{shutdown,{failed_to_start_child,'Elixir.WalEx.Replication.Server',function_clause}}}}}},{'Elixir.Services.Application',start,[normal,[]]}}}")
INFO
INFOCrash dump is being written to: erl_crash.dump...done

I'll start thinking about how to address this issue, thank you for bringing it to my attention.

@cpursley cpursley added the bug Something isn't working label Jan 12, 2024
@cpursley cpursley self-assigned this Jan 12, 2024
@adampash
Copy link
Author

Thanks @cpursley!

@cpursley cpursley added enhancement New feature or request and removed bug Something isn't working labels Jan 12, 2024
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

2 participants