{"id":18257966,"url":"https://github.com/linkdd/emapred","last_synced_at":"2025-08-24T11:13:03.821Z","repository":{"id":136499005,"uuid":"178186064","full_name":"linkdd/emapred","owner":"linkdd","description":"Erlang Map-Reduce framework","archived":false,"fork":false,"pushed_at":"2019-03-30T05:35:27.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T17:57:50.486Z","etag":null,"topics":["distributed","erlang","mapreduce"],"latest_commit_sha":null,"homepage":null,"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/linkdd.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-28T11:04:47.000Z","updated_at":"2019-03-30T05:35:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"00d120ad-79b8-4908-99f3-5893728a9ce3","html_url":"https://github.com/linkdd/emapred","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkdd%2Femapred","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkdd%2Femapred/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkdd%2Femapred/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkdd%2Femapred/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linkdd","download_url":"https://codeload.github.com/linkdd/emapred/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247941719,"owners_count":21022037,"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":["distributed","erlang","mapreduce"],"created_at":"2024-11-05T10:28:22.375Z","updated_at":"2025-04-08T22:46:57.902Z","avatar_url":"https://github.com/linkdd.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"emapred\n=======\n\nErlang distributed Map-Reduce framework.\n\n.. image:: https://travis-ci.org/linkdd/emapred.svg?branch=master\n    :target: https://travis-ci.org/linkdd/emapred\n\nFeatures\n--------\n\n - run arbitrary Map/Reduce functions on a list\n - automatically distribute workload across nodes running this application\n\nExample\n-------\n\n.. code-block:: erlang\n\n   {ok, P} = emapred_pipeline:new(\n       % Mapper\n       fun(E) -\u003e\n           case E \u003e 5 of\n               true  -\u003e {emit, {foo, 1}};\n               false -\u003e {emit, {foo, -1}}\n           end\n       end,\n       % Reducer\n       fun(_Key, Increment, Counter) -\u003e\n           {ok, Counter + Increment}\n       end,\n       % Initial value for reducer accumulator\n       0\n   ),\n   % Stream elements to map\n   ok = emapred_pipeline:send(P, 5),\n   ok = emapred_pipeline:send(P, 6),\n   ok = emapred_pipeline:send(P, 3),\n   ok = emapred_pipeline:send(P, 4),\n   ok = emapred_pipeline:send(P, 7),\n   % Stop streaming and get reduced result\n   -1 = emapred_pipeline:stop(P).\n\nBuild\n-----\n\n.. code-block:: console\n\n   $ rebar3 compile\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkdd%2Femapred","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinkdd%2Femapred","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkdd%2Femapred/lists"}