Python Listener / Worker Infrastructure

Cancelled Posted 5 years ago Paid on delivery
Cancelled Paid on delivery

Python workload manager/worker Interface

April 2018

OVERVIEW

Implement a generic architecture to divide a task to many subtasks between different designated workers.

GOALS

build a generic component which gets a Message by RabbitMQ, parse it to create a task and subtasks to various listeners

Build demo for the listener and for the task manager.

SPECIFICATIONS

Task Manager Interface:

Recieving notification Message of new Task by RabbitMQ.

ProcessMessage() - this async method is responsible to understand the full workload that is encompassed in the Message.

createTask() - this method generates a unique taskId for the workload needed.

generateSubTasks() - this method is responsible to divide the original task to different subtasks.

postTasks() - this method is responsible for posting subTasks in a designated unique, Redis Hash data-type to create a taskList.

hasTaskEnded() - this method is responsible to check the taskList to see if some subTasks for the given taskId are not FINISHED.

OnFinish() - sendMessage back through RabbitMQ

Worker Interface:

assignToTask() - takes a subTask off the taskList

processTask() - this async method is responsible to get the workload described in the subTask and execute it

postFinishTask() - responsbile to mark the subTask as FINISHED in the Redis taskList

Object Oriented Programming (OOP) Python Redis Software Architecture

Project ID: #16770662

About the project

2 proposals Remote project Active 5 years ago

2 freelancers are bidding on average $555 for this job

beautiXiao

Hi, I am an experienced programmer and I'm sure I can complete your project asap. Please contact me and tell about your project details. I promise a high quality and punctual work. Thanks. Python Listener / Worker Inf More

$555 USD in 4 days
(16 Reviews)
6.0