{"id":18000148,"url":"https://github.com/fourkio/node_manager","last_synced_at":"2026-05-16T18:02:59.991Z","repository":{"id":57530110,"uuid":"88558475","full_name":"fourkio/node_manager","owner":"fourkio","description":"Manage node connections and communications","archived":false,"fork":false,"pushed_at":"2017-05-16T23:10:04.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-30T00:34:11.532Z","etag":null,"topics":["elixir","node","rpc"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fourkio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-17T23:03:22.000Z","updated_at":"2017-04-18T00:08:16.000Z","dependencies_parsed_at":"2022-09-26T18:11:29.711Z","dependency_job_id":null,"html_url":"https://github.com/fourkio/node_manager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourkio%2Fnode_manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourkio%2Fnode_manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourkio%2Fnode_manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourkio%2Fnode_manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fourkio","download_url":"https://codeload.github.com/fourkio/node_manager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247142043,"owners_count":20890652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","node","rpc"],"created_at":"2024-10-29T23:09:53.061Z","updated_at":"2026-05-16T18:02:54.960Z","avatar_url":"https://github.com/fourkio.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeManager\nA package to help manage node connections and communications\n\n## Installation\n```elixir\ndef deps do\n  [\n    {:node_manager, \"~\u003e 0.1\"}\n  ]\nend\n```\n\n## Configuration\nConfigure a DNS entry for each application, and define it here:\n```elixir\nconfig :node_manager,\n  app_list: %{\n    email: \"localhost\",\n    users: \"localhost\"\n  }\n```\n\nIn development, all nodes will probably be running on localhost. Your production configuration might look something like this:\n```elixir\nconfig :node_manager,\n  app_list: %{\n    email: \"email.fourk.io\",\n    users: \"users.fourk.io\"\n  }\n```\n\nWhen your applications boot, they need to connect to an already-running node, using `NodeManager.connect/0`. It is recommended you add this function in the `start/2` function of your Application module.\n\n## Usage\nTo send a request to execute a function on another node, use the following function:\n```elixir\nNodeManager.send_request(\"ApplicationName\", ApplicationName.ModuleName, :function_name, [function, parameters])\n```\n\nFor example, if we wanted the `users` application to request the `email` application send an email, we should use the following:\n```elixir\nNodeManager.send_request(\"email\", Email.Mailer, :send, [to, from, subject, body])\n```\n\nwhich would be the same as executing this on the email node\n```elixir\nEmail.Mailer.send(to, from, subject, email)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffourkio%2Fnode_manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffourkio%2Fnode_manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffourkio%2Fnode_manager/lists"}