dimint / dimint-overlord

0 stars 0 forks source link

통신 프로토콜 정의 및 구현 : overlord to client, overlord to node 두 통신을 한번에 할 수 있도록 하기 #6

Closed jsryu21 closed 9 years ago

jsryu21 commented 9 years ago

In current, we use global variables for threads(overlord to client, overlord to node) communicating simultaneously. But we could implement it by locating packets in zookeeper's path.(@jc-kim commented)

jsryu21 commented 9 years ago

@yeomii 's Comment : 오버로드 쓰레드 디자인좀 예쁘게 고쳐보기

jsryu21 commented 9 years ago

In c62fd4fe34cbf200124092a98d75f2acd9aea44c we used DEALER, POLLIN for asynchronous server. http://zguide.zeromq.org/py:asyncsrv

jsryu21 commented 9 years ago

In 933afa1374e81974a241aa4d6460aa8f063586d5 we used PUSH for sending packet to node. http://learning-0mq-with-pyzmq.readthedocs.org/en/latest/pyzmq/patterns/pushpull.html

jsryu21 commented 9 years ago

In abc16fbacac090abdd2532e3b0ad2fff5d1f8395 hot fix.