swarm
swarm copied to clipboard
Easy clustering, registration, and distribution of worker processes for Erlang/Elixir
I'm using `Swarm` in a big cluster and I'm always getting the following error in exactly one node: ``` 00:34:51.845 [error] GenStateMachine Swarm.Tracker terminating ** (FunctionClauseError) no function clause matching...
https://github.com/bitwalker/swarm/blob/4aee63d83ad5ee6ee095b38b3ff93a4dbb7c3400/lib/swarm/tracker/tracker.ex#L1187 By definition, `Swarm.Distribution.Strategy.key_to_node/2` can return `node() | :undefined`. However this exact line is actually accepting `{:error, {:invalid_ring, :no_nodes}}` as a valid return value, which is actually what `HashRing.key_to_node/2` returns...
Hello, I have observed a peculiar behavior and was hoping to get some guidance. I have noticed there is a different handoff of processes between nodes from when I gracefully...
I got the following crash when adding another node to the cluster: ``` protocol String.Chars not implemented for {:livechat, "room_name"} of type Tuple. This protocol is implemented for the following...
Hi, Thanks for the great lib, awesome work! We are building a system where we have to process a stream of messages from a remote system. To be more precise,...
I try to search Elixir Swarm example , but google always return docker swarm to me. Through the hex docs is too less example, you know for a Elixir beginner...
Implement a new supervisor module which can ensure registered processes are properly restarted according to normal supervisor semantics, but are also restarted/shifted based on cluster topology changes. This supervisor will...
Sometimes, the invocation of Swarm.whereis_name/1 takes over 60_000 ms. The total amount of processes registered under is about 20K. All processes have pretty the same name pattern 1) "PH#{number}" 2)...
Howdy! Our error tracker picked up the following error that happened when we deployed our application yesterday. We're using Swarm (version 3.4.0) to manage a two node cluster on Kubernetes....
I can't reproduce this on reliably, but I've noticed that occasionally `Swarm.Tracker` gets stuck in the `syncing` state when a lot of nodes are crashing & restarting. Based on inspecting...