{"id":18881358,"url":"https://github.com/leo-project/leo_pod","last_synced_at":"2025-04-14T20:09:13.334Z","repository":{"id":9326642,"uuid":"11171744","full_name":"leo-project/leo_pod","owner":"leo-project","description":"leo_pod - A Fast Erlang worker pool manager","archived":false,"fork":false,"pushed_at":"2020-05-31T08:19:00.000Z","size":241,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-04-14T20:09:08.335Z","etag":null,"topics":["erlang","leofs","library"],"latest_commit_sha":null,"homepage":"http://leo-project.net/leofs","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leo-project.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-04T08:55:47.000Z","updated_at":"2020-05-31T08:04:50.000Z","dependencies_parsed_at":"2022-07-31T16:39:02.321Z","dependency_job_id":null,"html_url":"https://github.com/leo-project/leo_pod","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leo-project%2Fleo_pod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leo-project%2Fleo_pod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leo-project%2Fleo_pod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leo-project%2Fleo_pod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leo-project","download_url":"https://codeload.github.com/leo-project/leo_pod/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248952350,"owners_count":21188426,"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":["erlang","leofs","library"],"created_at":"2024-11-08T06:48:59.270Z","updated_at":"2025-04-14T20:09:13.279Z","avatar_url":"https://github.com/leo-project.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"# leo_pod -  A Fast Erlang worker pool manager\n\n[![Build Status](https://travis-ci.org/leo-project/leo_pod.svg?branch=develop)](https://travis-ci.org/leo-project/leo_pod)\n\n**leo_pod** is an Erlang worker pool manager, which does not use ETS(Eralng Term Storage).\n\n## Usage\n\nSee files under the [`test/`](https://github.com/leo-project/leo_pod/tree/develop/test) directory in the repository.\n\n```Erlang\n\n    %% Prepare\n    PodName = 'first_leo_pod',\n    PodSize     = 8,\n    MaxOverflow = 16,\n    ModName     = 'leo_pod_mod',\n    WorkerArgs  = [{protocol, tcp},\n                   {host, \"127.0.0.1\"},\n                   {port, 8080}],\n    leo_pod:start_link(PodName, PodSize, MaxOverflow, ModName, WorkerArgs),\n\n    %% Execute - [checkout \u003e call \u003e checkin]\n    {ok, Worker} = leo_pod:checkout(PodName),\n    {ok, _Reply} = gen_server:call(Worker, {echo, \u003c\u003c\"Hello Hal,\"\u003e\u003e}),\n    ok = leo_pod:checkin(PodName, Worker),\n    ok.\n\n```\n\n## Usage in Leo Project\n\n**leo_pod** is used in [**leo_rpc**](https://github.com/leo-project/leo_rpc) library.\nIt is used to mangage the number of process of RPC clients for each node.\nIt is necessary because some OS has the limit for the number of file descriptors\nand therefore connections to the other nodes.\n\n## License\n\nleo_pod's license is \"Apache License Version 2.0\"\n\n## Sponsors\n\n* LeoProject/LeoFS was sponsored by [Rakuten, Inc.](https://global.rakuten.com/corp/) from 2012 to Dec of 2018.\n* LeoProject/LeoFS is sponsored by [Lions Data, Ltd.](https://lions-data.com/) from Jan of 2019.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleo-project%2Fleo_pod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleo-project%2Fleo_pod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleo-project%2Fleo_pod/lists"}