{"id":32161820,"url":"https://github.com/sheyll/unliftio-messagebox","last_synced_at":"2026-02-19T07:02:24.084Z","repository":{"id":56881721,"uuid":"319214372","full_name":"sheyll/unliftio-messagebox","owner":"sheyll","description":"Fast and reliable message queues","archived":false,"fork":false,"pushed_at":"2021-06-22T21:55:12.000Z","size":16766,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-21T13:58:56.406Z","etag":null,"topics":["concurrent-processes"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sheyll.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2020-12-07T05:33:38.000Z","updated_at":"2023-10-29T21:27:02.000Z","dependencies_parsed_at":"2022-08-20T13:00:41.258Z","dependency_job_id":null,"html_url":"https://github.com/sheyll/unliftio-messagebox","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/sheyll/unliftio-messagebox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheyll%2Funliftio-messagebox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheyll%2Funliftio-messagebox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheyll%2Funliftio-messagebox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheyll%2Funliftio-messagebox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sheyll","download_url":"https://codeload.github.com/sheyll/unliftio-messagebox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheyll%2Funliftio-messagebox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280272339,"owners_count":26302260,"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","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["concurrent-processes"],"created_at":"2025-10-21T13:58:54.113Z","updated_at":"2025-10-21T13:58:59.419Z","avatar_url":"https://github.com/sheyll.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![main Build Results](https://github.com/sheyll/unliftio-messagebox/workflows/.github/workflows/test.yml/badge.svg?branch=main)](https://github.com/sheyll/unliftio-messagebox/actions)\n[![Latest Build Results](https://github.com/sheyll/unliftio-messagebox/workflows/.github/workflows/test.yml/badge.svg)](https://github.com/sheyll/unliftio-messagebox/actions)\n\n# Fast and Robust Message Queues for Concurrent Processes\n\n**NOTE:** To be able to fully view this README, use the [GitHub Pages Version](https://sheyll.github.io/unliftio-messagebox/).\n* [API docs](./generated-reports/haddock-report/unliftio-messagebox)\n* [API docs on Hackage](http://hackage.haskell.org/package/unliftio-messagebox)\n\nA thin wrapper around a subset of `unagi-chan` based on `unliftio`.\n\nThe unit tests and benchmarks in this project excercise a subset \nof `unagi-chan`, so hopefully the user of this library doesn't\nhave to worry about this.\n\nThis project also aims to implicitly verify parts of `unagi-chan`.\n\nThe overall goal is to reduce the risk of live and dead locks and \nthread starvation, as well as acceptable performance \neven in massively concurrent programs.\n\n## Module Structure\n\nThe library is contained in modules with names starting with \n**UnliftIO.MessageBox**.\n\n![Module Structure](./generated-reports/module-graph/module-graph.png)\n\nAlso the module \n`UnliftIO.MessageBox` [(API docs)](./generated-reports/haddock-report/unliftio-messagebox/UnliftIO-MessageBox.html)\n[(Hackage)](http://hackage.haskell.org/package/unliftio-messagebox/docs/UnliftIO-MessageBox.html)\nexposes the API, and can be used to import everything.\n\nThe full documentation is either [on this page](./generated-reports/haddock-report/unliftio-messagebox/index.html)[(build log)](./generated-reports/haddock-report/build.log)\nor on [Hackage](http://hackage.haskell.org/package/unliftio-messagebox).\n\n## Benchmarks\n\n* [Single Core Results](./generated-reports/benchmark-report/benchmark-1-CORES.html)\n* [Multi Core Results](./generated-reports/benchmark-report/benchmark-ALL-CORES.html)\n\n## Unit Tests\n\n* [Test Results](./generated-reports/test-profiling-report/test-result.html)\n* [Test Coverage](./generated-reports/test-coverage-report/hpc_index.html)\n### Heap Profiling\n\n![Test Heap Profiling Report](./generated-reports/test-profiling-report/unliftio-messagebox-test.svg)\n\n### Time Profiling\n\n[Test Profiling Report](./generated-reports/test-profiling-report/unliftio-messagebox-test.prof)\n\n## Memory Leak Tests\n\nThis is a small application with a 1002 processes, each performing a fix amount of \nwork.\n\nWhen the work is done, all processes synchronise before starting a new iteration.\nAfter each iteration, the memory usage is queried from the GHC runtime \nstatistics.\nThere are 10 iterations like that. \n\nAfter that all processes are shutdown, and the process\nstarts all over again, 5 times.\n\nIn total 50 iterations.\n\nIf memory is leaked it should become visible.\n\nThe test program is executed with the `+RTS -Mxxxm` option that instructs\nthe runtime to limit the available heap to `xxx` MB, so if there is a memory\nleak, the program would at some point crash with a heap exhaustion error.\n\n![Memleak Test Heap Profiling Report](./generated-reports/messagebox-memleak-test-report/unliftio-messagebox-memleak-test.svg)\n\nThe output is printed into [this log file](./generated-reports/messagebox-memleak-test-report/test.log).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheyll%2Funliftio-messagebox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsheyll%2Funliftio-messagebox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheyll%2Funliftio-messagebox/lists"}