def _sockets_path(self): new_dict = SocketMultiprocess._sockets_path(self) #tasks_pub: used for sending the status of the tasks. #tasks_sub: used for receiving the status of the tasks. #redis_manager: receive the dependencies from other instances. new_dict.update({ 'tasks_pub': ['to_tasks_publish', 'PUB', ''], 'redis_manager': ['redis_manager', 'PULL', '_recv_garbage'], 'tasks_sub': ['from_tasks_publish', 'SUB', '_update_zero_depend'] }) return new_dict
def _sockets_path(self): new_dict = SocketMultiprocess._sockets_path(self) #tasks_pub: used for sending the status of the tasks. #tasks_sub: used for receiving the status of the tasks. #redis_manager: receive the dependencies from other instances. new_dict.update({'tasks_pub': ['to_tasks_publish', 'PUB', ''], 'redis_manager': ['redis_manager', 'PULL', '_recv_garbage'], 'tasks_sub': ['from_tasks_publish', 'SUB', '_update_zero_depend']}) return new_dict
def _sockets_path(self): new_dict = SocketMultiprocess._sockets_path(self) #from_socket: receive tasks to be executed in the instance. #to_socket: send created tasks. #data_socket: send data of created tasks. #direct_task: send tasks that can be executed without needed data. #redis_manager: send dependencies of the created tasks. new_dict.update({'from_socket': ['from_new_task', 'PULL', '_work'], 'to_socket': ['to_done_task', 'PUSH', ''], 'data_socket': ['to_data', 'PUSH', ''], 'direct_task': ['to_new_task', 'PUSH', ''], 'redis_manager': ['redis_manager', 'PUSH', '']}) return new_dict
def _sockets_path(self): new_dict = SocketMultiprocess._sockets_path(self) #tasks_pub: send the message of done tasks. #tasks_sub: receive the message to resend a task. #tasks_del: receive the message to finish a task. #data_socket: receive the data of a task. new_dict.update({ 'tasks_pub': ['to_tasks_publish', 'PUB', ''], 'tasks_sub': ['from_tasks_publish', 'SUB', '_actualize_task'], 'tasks_del': ['from_tasks_publish', 'SUB', '_del_task'], 'data_socket': ['from_data', 'PULL', '_create_data'] }) return new_dict
def _sockets_path(self): new_dict = SocketMultiprocess._sockets_path(self) #tasks_pub: send the message of done tasks. #tasks_sub: receive the message to resend a task. #tasks_del: receive the message to finish a task. #data_socket: receive the data of a task. new_dict.update({'tasks_pub': ['to_tasks_publish', 'PUB', ''], 'tasks_sub': ['from_tasks_publish', 'SUB', '_actualize_task'], 'tasks_del': ['from_tasks_publish', 'SUB', '_del_task'], 'data_socket': ['from_data', 'PULL', '_create_data']}) return new_dict
def _sockets_path(self): new_dict = SocketMultiprocess._sockets_path(self) #from_socket: receive tasks to be executed in the instance. #to_socket: send created tasks. #data_socket: send data of created tasks. #direct_task: send tasks that can be executed without needed data. #redis_manager: send dependencies of the created tasks. new_dict.update({ 'from_socket': ['from_new_task', 'PULL', '_work'], 'to_socket': ['to_done_task', 'PUSH', ''], 'data_socket': ['to_data', 'PUSH', ''], 'direct_task': ['to_new_task', 'PUSH', ''], 'redis_manager': ['redis_manager', 'PUSH', ''] }) return new_dict
def _sockets_path(self): new_dict = SocketMultiprocess._sockets_path(self) #tasks_pub: used for sending the status of the tasks. #tasks_sub: used for receiving the status of the tasks. #from_socket: receive new tasks created during execution. #to_socket: send ready tasks to be executed. #server: receive new tasks from the server. #redis_manager: send dependencies of the server tasks. #data_socket: send direct tasks data. new_dict.update({ 'tasks_pub': ['to_tasks_publish', 'PUB', ''], 'tasks_sub': ['from_tasks_publish', 'SUB', '_update_task'], 'from_socket': ['from_done_task', 'PULL', '_create_task'], 'to_socket': ['to_new_task', 'PUSH', ''], 'server': ['to_server', 'DEALER', '_receive_task_server'], 'redis_manager': ['redis_manager', 'PUSH', ''], 'data_socket': ['to_data', 'PUSH', ''] }) return new_dict
def _sockets_path(self): new_dict = SocketMultiprocess._sockets_path(self) #tasks_pub: used for sending the status of the tasks. #tasks_sub: used for receiving the status of the tasks. #from_socket: receive new tasks created during execution. #to_socket: send ready tasks to be executed. #server: receive new tasks from the server. #redis_manager: send dependencies of the server tasks. #data_socket: send direct tasks data. new_dict.update({'tasks_pub': ['to_tasks_publish', 'PUB', ''], 'tasks_sub': ['from_tasks_publish', 'SUB', '_update_task'], 'from_socket': ['from_done_task', 'PULL', '_create_task'], 'to_socket': ['to_new_task', 'PUSH', ''], 'server': ['to_server', 'DEALER', '_receive_task_server'], 'redis_manager': ['redis_manager', 'PUSH', ''], 'data_socket': ['to_data', 'PUSH', '']}) return new_dict