Skip to content
/ distgear Public
forked from leebaok/distgear

Distributed Gears for your distributed event processing

Notifications You must be signed in to change notification settings

unias/distgear

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DistGear

Introduction

DistGear is an event processing component for distributed environment. When you develop a distributed system, you need to control nodes and manage jobs. DistGear is to seperate the two work. You just need to think and write your job working code and leave messaging, heartbeat and etc to DistGear.

DistGear is the gears for distributed environment. You code the event handler and DistGear drives your events.

Structure

          Master                          Worker
     +--------------+               +-------------+
     |    Handler   |               |   Handler   |    
     +--------------+               +-------------+
     |             PUB ---+------> SUB            |
--> HTTP   Loop     |     |         |    Loop     |    
     |            PULL <--|----+-- PUSH           |
     +--------------+     |    |    +-------------+
                          |    |
                          |    |     
                          |    |    +-------------+
                          |    |    |   Handler   |
                          |    |    +-------------+
                          +----|-> SUB            |
                               |    |    Loop     |
                               +-- PUSH           |
                                    +-------------+

Handler is defined by You. Others are DistGear's job.

Install

pip3 install .

About

Distributed Gears for your distributed event processing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 58.7%
  • Shell 16.9%
  • HTML 12.5%
  • Jupyter Notebook 11.2%
  • CSS 0.7%