{"id":19245275,"url":"https://github.com/soketi/network-watcher","last_synced_at":"2025-04-21T10:33:17.914Z","repository":{"id":37940936,"uuid":"350800968","full_name":"soketi/network-watcher","owner":"soketi","description":"Network Watcher is soketi's companion that scouts the memory to avoid memory depletion.","archived":false,"fork":false,"pushed_at":"2023-02-27T23:57:57.000Z","size":536,"stargazers_count":14,"open_issues_count":20,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T12:49:29.796Z","etag":null,"topics":["echo","echo-server","hacktoberfest","k8s","laravel","monitors-echo-container","network-watcher","pusher","realtime","server","soketi"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soketi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"rennokki"}},"created_at":"2021-03-23T17:32:53.000Z","updated_at":"2024-11-12T04:11:31.000Z","dependencies_parsed_at":"2024-01-23T17:13:58.460Z","dependency_job_id":"8a761e68-15fb-4ce3-a43f-6afb9ec450ae","html_url":"https://github.com/soketi/network-watcher","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soketi%2Fnetwork-watcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soketi%2Fnetwork-watcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soketi%2Fnetwork-watcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soketi%2Fnetwork-watcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soketi","download_url":"https://codeload.github.com/soketi/network-watcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250040421,"owners_count":21365101,"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","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":["echo","echo-server","hacktoberfest","k8s","laravel","monitors-echo-container","network-watcher","pusher","realtime","server","soketi"],"created_at":"2024-11-09T17:27:18.017Z","updated_at":"2025-04-21T10:33:17.554Z","avatar_url":"https://github.com/soketi.png","language":"PHP","readme":"Network Watcher\n===============\n\n![CI](https://github.com/soketi/network-watcher/workflows/CI/badge.svg?branch=master)\n[![codecov](https://codecov.io/gh/soketi/network-watcher/branch/master/graph/badge.svg)](https://codecov.io/gh/soketi/network-watcher)\n[![StyleCI](https://github.styleci.io/repos/350800968/shield?branch=master)](https://github.styleci.io/repos/350800968)\n![License](https://img.shields.io/github/license/soketi/network-watcher)\n\n![v1.20.10 K8s Version](https://img.shields.io/badge/K8s%20v1.20.10-Ready-%23326ce5?colorA=306CE8\u0026colorB=green)\n![v1.21.4 K8s Version](https://img.shields.io/badge/K8s%20v1.21.4-Ready-%23326ce5?colorA=306CE8\u0026colorB=green)\n![v1.22.1 K8s Version](https://img.shields.io/badge/K8s%20v1.22.1-Ready-%23326ce5?colorA=306CE8\u0026colorB=green)\n\nNetwork Watcher is [soketi](https://github.com/soketi/soketi)'s companion that scouts the memory to avoid memory depletion.\n\nThis 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](https://rennokki.gitbook.io/soketi-docs/network-watcher/installation).\n\n## 🤝 Supporting\n\nsoketi 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.\n\nDevelopment is done by investing time, so any help coming is appreciated. You can sponsor the development via [Github Sponsors](https://github.com/sponsors/rennokki). 📦\n\n[\u003cimg src=\"https://github-content.s3.fr-par.scw.cloud/static/39.jpg\" height=\"210\" width=\"418\" /\u003e](https://github-content.renoki.org/github-repo/39)\n\n## 📜 Documentation\n\nThe integration steps of Network Watcher with your soketi-running Kubernetes Pods is available in the [official documentation](https://rennokki.gitbook.io/soketi-docs/network-watcher/getting-started).\n\n## 🚀 Installation\n\n```bash\n$ composer install --ignore-platform-reqs \u0026\u0026 cp .env.example .env\n```\n\n## Running the Network Watcher\n\n```bash\n$ php artisan network:watch\n```\n\n## 🐛 Testing\n\n``` bash\nvendor/bin/phpunit\n```\n\n## 🤝 Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## 🔒  Security\n\nIf you discover any security related issues, please email alex@renoki.org instead of using the issue tracker.\n\n## 🎉 Credits\n\n- [Alex Renoki](https://github.com/rennokki)\n- [All Contributors](../../contributors)\n","funding_links":["https://github.com/sponsors/rennokki"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoketi%2Fnetwork-watcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoketi%2Fnetwork-watcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoketi%2Fnetwork-watcher/lists"}