Sign inSign up

nazriel/fast-celery-ping

By nazriel

•Updated over 1 year ago

A fast, self-contained Go alternative to Python's celery inspect ping command.

Image
Developer tools
0

733

nazriel/fast-celery-ping repository overview

⁠Fast Celery Ping

A fast, self-contained Go alternative to Python's celery inspect ping command.

Goal is to be faster and more resource efficient that python's implementation.

⁠Features

  • Fast: Significantly faster than the Python implementation
  • Self-contained: Single binary with no external dependencies
  • Redis Support: Currently supports Redis broker with easy extensibility
  • Compatible: Maintains compatibility with existing Celery deployments
  • Configurable: Supports both environment variables and command-line flags

⁠Usage

# Run containerized application
docker run --rm nazriel/fast-celery-ping:latest --broker-url redis://host.docker.internal:6379/0

# Run with environment variables
docker run --rm \
  -e CELERY_BROKER_URL=redis://host.docker.internal:6379/0 \
  -e CELERY_PING_TIMEOUT=3s \
  nazriel/fast-celery-ping:latest
⁠Configuration Options
FlagEnvironment VariableDefaultDescription
--broker-urlCELERY_BROKER_URLredis://localhost:6379/0Redis connection URL
--timeoutCELERY_PING_TIMEOUT1.5sTimeout for ping responses
--formatOUTPUT_FORMATtextOutput format (json/text)
--databaseREDIS_DB0Redis database number
--usernameREDIS_USERNAMERedis username
--passwordREDIS_PASSWORDRedis password
--verboseVERBOSEfalseEnable verbose output

⁠Github

https://github.com/nazriel/fast-celery-ping⁠

Tag summary

Content type

Image

Digest

sha256:de93c21bc…

Size

5.9 MB

Last updated

over 1 year ago

docker pull nazriel/fast-celery-ping