How do I use a registry within a supervision tree with child_spec name: {:via} syntax for other supervisor children?
I am learning elixir & I am struggling a bit with how to set up separate processes for data access & API routing while allowing them to communicate in a way that allows either process to fail while still being able to reconnect / be connected to via the new child process upon the next request. It seems that the Registry module is the answer for where to store this information, but I am struggling to get it to work the way I expect just from reading the hexdocs & am finding the {:via, …} syntax is not setting my registry key.
how to remove a key from structs/maps / nested structs/maps in Elixir
Hello I have this struct
Elixir test only passes once then error cannot find mock/stub in process #PID using Req
I have a simple GenServer making an HTTP request
how generating executable in elixir
Even with all the correct imports and the mix file configured correctly, I can’t generate the executable and it gives the following error:
How to debug why my elixir app is crashing in kubernetes environment
I’m trying to deploy my app in our internal Kubernetes instance. My Dockerfile is the standard one generated from mix release
here is the logs of the container.