Wait4X
lastmod 2025-03-18created 2025-03-181 edits
Wait4X allows you to wait for a port or a service to enter the requested state.
A lightweight tool that waits until services are ready
About
- A powerful, dependency-free, cross-platform service-waiting tool
- Supports TCP/HTTP/DNS and integrates services such as Redis/MySQL/Postgres/RabbitMQ
- Supports parallel checks, reverse checks, exponential backoff, and more, and can run a specific command after a successful check
- Supports a variety of protocols and services, useful for tasks such as
- CI/CD pipelines - make sure dependencies are ready before running tests
- Container orchestration - check service health before starting the application
- Deployment processes - verify the system is ready before proceeding with deployment
- Application initialization - check the availability of external services
- Local development - easily check whether local services are ready
Key features
- Multi-protocol support - TCP, HTTP, DNS
- Service integration : supports Redis, MySQL, PostgreSQL, MongoDB, RabbitMQ, InfluxDB, Temporal
- Reverse checks : can find free ports or services that are not ready
- Parallel checks : can check multiple services at the same time
- Exponential Backoff : increases the delay between retries to improve reliability
- CI/CD integration : well suited to automated workflows
- Cross-platform : single binary for Linux, macOS, Windows
- Go package support : can be imported directly into Go applications
- Command execution : can run a command after a successful check