Skip to content

Distributed Gears for your distributed event processing

Notifications You must be signed in to change notification settings

leebaok/distgear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages