Skip to content

phaesoo/nesta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nesta

Task scheduler with dependency management

Core concepts

  • Scalable
  • Asynchronous

Todolist

  • Remote task call with Celery
  • Terminate running task with Celery (revoke, terminate=True)
  • Worker heartbeat, app.control.ping()
  • DB scheme (not with ORM, with mysql)
  • queue with RabbitMQ
  • Daemonize server process
  • Logging
  • Testing
  • Notification (email.. etc)
  • External controller (telegram)
  • Task reponse object
  • Add region column on job db
  • Exchange trading date information from external library
  • Prepare for safe insert logic (schedule insert command)

Server

  • Send task
  • Update result

DB

  • It better not to use ORM but SQL..

Undecided

  • Worker heartbeat(ping)

Setup

RabbitMQ (docker)

  • sudo docker run -d --name rabbitmq -p 5672:5672 -p 8080:15672 --restart=unless-stopped -e RABBITMQ_DEFAULT_USER=test -e RABBITMQ_DEFAULT_PASS=test rabbitmq:management

Note

  • rsync -rvz ~/src/nesta/* --include=.py --exclude=.venv/ --exclude=.git/ --exclude=.log --exclude=*.pid hspark@aws_test:/usr/local/bin/nesta/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors