Provides containers which implement parallelism for clients and servers.
- Supports multi-process, multi-thread and hybrid containers.
- Automatic scalability based on physical hardware.
- Direct integration with systemd using
$NOTIFY_SOCKET
. - Internal process readiness protocol for handling state changes.
- Automatic restart of failed processes.
Please see the project documentation for more details.
- Getting Started - This guide explains how to use
async-container
to build basic scalable systems.
Please see the project releases for all releases.
- Use
SIGKILL
/Thread#kill
when the health check fails. In some cases,SIGTERM
may not be sufficient to terminate a process because the signal can be ignored or the process may be in an uninterruptible state.
- Fix compatibility between
Async::Container::Hybrid
and the health check. Async::Container::Generic#initialize
passes unused arguments through toAsync::Container::Group
.
- Improve container signal handling reliability by using
Thread.handle_interrupt
except at known safe points. - Improved logging when child process fails and container startup.
- Add
health_check_timeout
for detecting hung processes.
We welcome contributions to this project.
- Fork it.
- Create your feature branch (
git checkout -b my-new-feature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin my-new-feature
). - Create new Pull Request.
In order to protect users of this project, we require all contributors to comply with the Developer Certificate of Origin. This ensures that all contributions are properly licensed and attributed.
This 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.