GitHunt
SO

soketi/network-watcher

Network Watcher is soketi's companion that scouts the memory to avoid memory depletion.

Network Watcher

CI
codecov
StyleCI
License

v1.20.10 K8s Version
v1.21.4 K8s Version
v1.22.1 K8s Version

Network Watcher is soketi's companion that scouts the memory to avoid memory depletion.

This project was meant to be deployed in the same Pod (as a sidecar container) with soketi. Network Watcher will continuously scan the memory usage for soketi containers and in case a specific threshold is reached, it will update the Kubernetes Pod's labels to avoid new connections from kicking in, while keeping the old ones active. You can find examples in the documentation.

๐Ÿค Supporting

soketi is meant to be free, forever. Having a good companion for developing real-time apps locally should not involve any third-party and having a reliable option to deploy behind a firewall makes soketi a good option.

Development is done by investing time, so any help coming is appreciated. You can sponsor the development via Github Sponsors. ๐Ÿ“ฆ

๐Ÿ“œ Documentation

The integration steps of Network Watcher with your soketi-running Kubernetes Pods is available in the official documentation.

๐Ÿš€ Installation

$ composer install --ignore-platform-reqs && cp .env.example .env

Running the Network Watcher

$ php artisan network:watch

๐Ÿ› Testing

vendor/bin/phpunit

๐Ÿค Contributing

Please see CONTRIBUTING for details.

๐Ÿ”’ Security

If you discover any security related issues, please email alex@renoki.org instead of using the issue tracker.

๐ŸŽ‰ Credits

soketi/network-watcher | GitHunt