async-service-supervisor 0.13.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/async/service/supervisor/utilization_monitor.rb +1 -0
- data/lib/async/service/supervisor/version.rb +1 -1
- data/readme.md +8 -10
- data/releases.md +4 -0
- data.tar.gz.sig +2 -2
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 40d92dff9ef46f5a5864fb8c013d3756c89b0941568cbb8fad482b3d5980c26e
|
|
4
|
+
data.tar.gz: b5ca32ff2ade3e7e07bc58e4b9a52d7dabb8df87f33001907fec2032ad9977da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 66e3fe09be98818698e57e38070e55ef5fad22123ddeda1c15685426f5a90ab37d77b8a2da1f10ae2ebf69549f8c402870b6c535f30505b5db092e446f052c6f
|
|
7
|
+
data.tar.gz: a52324ca442e95f5161a93ebc562eebfb23838c59452a0e0d517d99686f6e7f17e696d7a1c386f34dd193252c33a96a2ff2ee026becd96a32bb55c09d7e1e967
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/readme.md
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
# Async::Service::Supervisor
|
|
2
2
|
|
|
3
|
-
Provides a
|
|
3
|
+
Provides a process supervision system for `async-service` applications, built on top of `Async::Bus` for reliable IPC between a supervisor process and its workers.
|
|
4
4
|
|
|
5
5
|
[](https://github.com/socketry/async-service-supervisor/actions?workflow=Test)
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
- Internal process readiness protocol for handling state changes.
|
|
13
|
-
- Automatic restart of failed processes.
|
|
9
|
+
- Workers connect to the supervisor process via IPC and report their lifecycle.
|
|
10
|
+
- Remote diagnostics: workers expose memory dump and scheduler dump operations via the supervisor.
|
|
11
|
+
- Provides a flexible framework for monitoring worker processes and taking action when issues are detected (e.g. memory leaks, high CPU usage, etc.).
|
|
14
12
|
|
|
15
13
|
## Usage
|
|
16
14
|
|
|
@@ -30,6 +28,10 @@ Please see the [project documentation](https://socketry.github.io/async-service-
|
|
|
30
28
|
|
|
31
29
|
Please see the [project releases](https://socketry.github.io/async-service-supervisor/releases/index) for all releases.
|
|
32
30
|
|
|
31
|
+
### v0.13.1
|
|
32
|
+
|
|
33
|
+
- Unlink shared memory file before opening on supervisor restart, preventing SIGBUS when workers still have the file mapped.
|
|
34
|
+
|
|
33
35
|
### v0.13.0
|
|
34
36
|
|
|
35
37
|
- Add `worker_count` to `UtilizationMonitor` aggregated metrics per service, indicating how many workers contributed to each service's metrics (useful for utilization denominator).
|
|
@@ -75,10 +77,6 @@ Please see the [project releases](https://socketry.github.io/async-service-super
|
|
|
75
77
|
|
|
76
78
|
- Make client task (in supervised worker) transient, so that it doesn't keep the reactor alive unnecessarily. It also won't be stopped by default when SIGINT is received, so that the worker will remain connected to the supervisor until the worker is completely terminated.
|
|
77
79
|
|
|
78
|
-
### v0.6.3
|
|
79
|
-
|
|
80
|
-
- Add agent context documentation.
|
|
81
|
-
|
|
82
80
|
## Contributing
|
|
83
81
|
|
|
84
82
|
We welcome contributions to this project.
|
data/releases.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Releases
|
|
2
2
|
|
|
3
|
+
## v0.13.1
|
|
4
|
+
|
|
5
|
+
- Unlink shared memory file before opening on supervisor restart, preventing SIGBUS when workers still have the file mapped.
|
|
6
|
+
|
|
3
7
|
## v0.13.0
|
|
4
8
|
|
|
5
9
|
- Add `worker_count` to `UtilizationMonitor` aggregated metrics per service, indicating how many workers contributed to each service's metrics (useful for utilization denominator).
|
data.tar.gz.sig
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
�-,?��N�V�W��y����Y� �z�d�H��K�=MLǗ0.�TO�&6��i���l���(ɞ�YxЋ�4��p��A`.OL�ir��;�أ `8%M� 3-X�\%�~� М�zMO�8��K{�d�J*@/%�>)h
|
|
2
|
+
%�X�/s�ۡ%I�`G�1"V+�X��z��χ$���Е���}�P1�h1�7���[f#.��j�|���%/�X�W��@�@!�F�M�x*B�E�I�k��*�~y�9m�L��< ��fA��/�R��c�>�ݛ)���0J���O6�>�Xqx�2��R�C2�Hp�����/�奔/d| 3�9��{y����<�Z�NF��1�����C���P�az'e\R;�����v
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|