GitXplorerGitXplorer
d

celery-redis-queue

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
b6d1e8e2e288f609e191c18ef9d58c9154bca59d

delete useless files

committed 2 years ago
Unverified
0a5e0db36af70abf181ceecdde8e9fd322e5c6d4

feat: add listener

ddleunji committed 2 years ago
Unverified
c0bcdf96fe68dfd44d3861709b45dc4bf0093ad6

finish tutorial

committed 2 years ago
Unverified
8f59a93891d6b28a4cfc484b325bdf6df88d7968

feat: add readme

committed 2 years ago
Unverified
5c02cc058635f2a209914a934c464d0b6292e438

feat: init celery

committed 2 years ago

README

The README file for this repository.

Communication over Celery

Installation

$ pip install - requirements.txt

Execution

4 terminals are needed to run.

  1. Start Redis locally
$ brew install redis
$ redis-server
  1. Celery Server
$ python main.py --mode celery
  1. Listener
$ python main.py --mode listener
  1. Open Python Shell
$ python
>>> from tasks import add
>>> task = add.delay(1, 3) # Insert any numbers

Notice

  • Please install latest version(>= 1.2.0) of flower, the celery monitoring tool.

Refs.