-
Notifications
You must be signed in to change notification settings - Fork 2
Design Patterns and Availability
Implement EmergencyDepartment class with this design pattern. https://www.geeksforgeeks.org/singleton-pattern-in-python-a-complete-guide/
Implement a queue strategy that VTQueue and MedicalQueue will reference. https://www.geeksforgeeks.org/strategy-method-python-design-patterns/
Use this to notify doctors and patients when a ticket is being processed. https://www.geeksforgeeks.org/observer-method-python-design-patterns/
Use the state pattern for each ticket class to determine where it is in the triaging process. https://www.geeksforgeeks.org/state-method-python-design-patterns/
Use the template pattern for some other class just to say we have it i guess. https://www.geeksforgeeks.org/template-method-python-design-patterns/
Implement some type of redundancy (idk), implement some type of health monitoring (logging), implement some type of recovery (error handling). https://www.geeksforgeeks.org/design-patterns-for-high-availability/