Skip to content

zhebrak/beatle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beatle

Fault-tolerant HTTP request sender with cron schedule.

Configuration

[<project_name>]
URL: <beatle http endpoint>
KEY: <secret key>

Django client

Start

# pure
python3 beatle.py --conf="/etc/beatle/default.conf" --node="8000" --cluster="8000 8001 8002" &
python3 beatle.py --conf="/etc/beatle/default.conf" --node="8001" --cluster="8000 8001 8002" &
python3 beatle.py --conf="/etc/beatle/default.conf" --node="8002" --cluster="8000 8001 8002" &

# with docker
docker run --net=host -v /etc/beatle:/conf -id zhebrak/beatle --conf="/conf/default.conf" --node="8000" --cluster="8000 8001 8002"
docker run --net=host -v /etc/beatle:/conf -id zhebrak/beatle --conf="/conf/default.conf" --node="8001" --cluster="8000 8001 8002"
docker run --net=host -v /etc/beatle:/conf -id zhebrak/beatle --conf="/conf/default.conf" --node="8002" --cluster="8000 8001 8002"

About

Fault-tolerant scheduled HTTP requests

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages