项目作者: rokkian

项目描述 :
Proactive contract net based on Redis assign task to a group of proactive workers (Java-Maven).
高级语言: Java
项目地址: git://github.com/rokkian/proactive_task_net.git
创建时间: 2021-02-14T00:23:39Z
项目社区:https://github.com/rokkian/proactive_task_net

开源协议:

下载


Proactive Task Net

This is an implementation of a Contract Net, where a variable set of proactive workers checks the shared dataspace (Redis) in search of task to do.
There are multiple publishers of tasks that can be activated simultaneously and the the workers or publisherse of tasks can be effimeral.
The time-decoupling between publishers and executioners of tasks is reached.

The system is process crash resistant if a maximum duration time of the tasks is known a-priori. Otherways those fault will loose ongoing tasks on the process.

The coordination is implemented through a mutual exclusion lock in Redis. If needed on a distrubuted implementation of Redis it has to be implemented adding the Redlock algorithm support (https://redis.io/topics/distlock).

The publishers of task are simple Python3 scripts who add tasks to a list of to-do task on the Redis DB.

The worker it’s a Java-Maven simple agent. Further applications could implement a selection of the type of task execute if the agent is supposed to have only limited capabilities.

Requirements

It’s required to have an accesible Redis instance either local or remote.

For the worker agents it’s required Java and Maven.

For Python it’s required at least version 3.8.