kwhsiung / mm-punch

0 stars 2 forks source link

Change the cron/schedule design to an event-driven design #11

Open baron-chiu opened 4 years ago

baron-chiu commented 4 years ago

Not sure it's a good idea, but I like it. It will decouple the punching logic and scheduler. There also a benifit to eliminate the punching machine to only one instance.

https://en.wikipedia.org/wiki/Event-driven_architecture

baron-chiu commented 4 years ago

Is event-driven design a good architecture for punching machine? Worth of the refactoring? What do you think, @kwhsiung ?