{"id":13879670,"url":"https://github.com/socketry/async-container","last_synced_at":"2026-04-01T18:55:43.660Z","repository":{"id":52916154,"uuid":"94442435","full_name":"socketry/async-container","owner":"socketry","description":"Scalable multi-thread multi-process containers for Ruby.","archived":false,"fork":false,"pushed_at":"2026-03-19T22:23:44.000Z","size":969,"stargazers_count":93,"open_issues_count":5,"forks_count":8,"subscribers_count":10,"default_branch":"main","last_synced_at":"2026-03-26T20:34:39.550Z","etag":null,"topics":["containers","processes","scalability","threads"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/socketry.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":"https://github.com/socketry/community/#funding","github":"ioquatix"}},"created_at":"2017-06-15T13:31:54.000Z","updated_at":"2026-03-19T22:23:47.000Z","dependencies_parsed_at":"2024-03-25T09:53:38.863Z","dependency_job_id":"dffa5e54-cdc8-4268-a740-888792652cf7","html_url":"https://github.com/socketry/async-container","commit_stats":{"total_commits":230,"total_committers":6,"mean_commits":"38.333333333333336","dds":"0.034782608695652195","last_synced_commit":"6fcaea457534c0dba826b08e6a97fac00b5d03a9"},"previous_names":[],"tags_count":75,"template":false,"template_full_name":null,"purl":"pkg:github/socketry/async-container","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Fasync-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Fasync-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Fasync-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Fasync-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/socketry","download_url":"https://codeload.github.com/socketry/async-container/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Fasync-container/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31208205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-30T15:24:02.938Z","status":"ssl_error","status_checked_at":"2026-03-30T15:23:44.804Z","response_time":138,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["containers","processes","scalability","threads"],"created_at":"2024-08-06T08:02:28.392Z","updated_at":"2026-04-01T18:55:43.644Z","avatar_url":"https://github.com/socketry.png","language":"Ruby","readme":"# Async::Container\n\nProvides containers which implement parallelism for clients and servers.\n\n[![Development Status](https://github.com/socketry/async-container/workflows/Test/badge.svg)](https://github.com/socketry/async-container/actions?workflow=Test)\n\n## Features\n\n  - Supports multi-process, multi-thread and hybrid containers.\n  - Automatic scalability based on physical hardware.\n  - Direct integration with [systemd](https://www.freedesktop.org/software/systemd/man/sd_notify.html) using `$NOTIFY_SOCKET`.\n  - Internal process readiness protocol for handling state changes.\n  - Automatic restart of failed processes.\n\n## Usage\n\nPlease see the [project documentation](https://socketry.github.io/async-container/) for more details.\n\n  - [Getting Started](https://socketry.github.io/async-container/guides/getting-started/index) - This guide explains how to use `async-container` to build basic scalable systems.\n\n  - [Container Policies](https://socketry.github.io/async-container/guides/policies/index) - This guide explains how to use policies to monitor container health and implement custom failure handling strategies.\n\n  - [Systemd Integration](https://socketry.github.io/async-container/guides/systemd-integration/index) - This guide explains how to use `async-container` with systemd to manage your application as a service.\n\n  - [Kubernetes Integration](https://socketry.github.io/async-container/guides/kubernetes-integration/index) - This guide explains how to use `async-container` with Kubernetes to manage your application as a containerized service.\n\n## Releases\n\nPlease see the [project releases](https://socketry.github.io/async-container/releases/index) for all releases.\n\n### v0.34.4\n\n  - Add missing `bake` and `context` files to the release.\n\n### v0.34.3\n\n  - `Controller#restart` and `Controller#reload` now include a `status:` message in the `ready!` notification, so `systemctl status` shows \"Running with N children.\" instead of the stale \"Initializing controller...\" message.\n\n### v0.34.2\n\n  - Once a container is stopped, it stays stopped.\n\n### v0.34.0\n\n  - Add `Async::Container::Generic#stopping?` so that policies can more accurately track the state of the container.\n\n### v0.33.0\n\n  - Add `Policy#make_statistics` to allow policies to customize statistics initialization.\n\n### v0.32.1\n\n  - Expose `Async::Container::Controller` `#notify`, `#container_class`, and `#graceful_stop` for testing.\n\n### v0.32.0\n\n  - Minor **breaking** changes to `Async::Container::Policy` interface.\n  - Expose `Async::Container::Statistics::Rate#window`.\n\n### v0.31.0\n\n  - Introduce `Async::Container::Policy` for managing child lifecycle events and implementing custom failure handling strategies.\n  - Add `Async::Container::Statistics::Rate` for tracking failure and restart rates over sliding time windows.\n  - Fix restart counter to only increment when actually restarting (check `@running` flag).\n\n### v0.30.0\n\n  - `SIGTERM` is now graceful, the same as `SIGINT`, for better compatibility with Kubernetes and systemd.\n  - `ASYNC_CONTAINER_INTERRUPT_TIMEOUT` and `ASYNC_CONTAINER_TERMINATE_TIMEOUT` are removed and replaced by `ASYNC_CONTAINER_GRACEFUL_TIMEOUT`.\n\n### v0.29.0\n\n  - Introduce `Client#healthy!` for sending health check messages.\n\n## Contributing\n\nWe welcome contributions to this project.\n\n1.  Fork it.\n2.  Create your feature branch (`git checkout -b my-new-feature`).\n3.  Commit your changes (`git commit -am 'Add some feature'`).\n4.  Push to the branch (`git push origin my-new-feature`).\n5.  Create new Pull Request.\n\n### Developer Certificate of Origin\n\nIn order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.\n\n### Community Guidelines\n\nThis project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.\n","funding_links":["https://github.com/socketry/community/#funding","https://github.com/sponsors/ioquatix"],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocketry%2Fasync-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsocketry%2Fasync-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocketry%2Fasync-container/lists"}