Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.56 KB

dp.md

File metadata and controls

30 lines (25 loc) · 1.56 KB

Design Patterns

Practice and make yourself familiar with GoFs design patterns. Some popular patterns in CloudStack:

Design Pattern Usage in CloudStack
AbstractFactory and Factory Several abstract classes and building blocks
Adapter Resource and managers
Bridge Frameworks and their provider plugins
Builder Several building blocks
Command RPC to talk to agents
Facade Various subsystems
Observer and State FSM and events
Decorator, Visitor and Flyweight Network programming
Singleton Managers and Providers instantiated as Spring beans
Strategy Plugins, algorithms, Service Layers

Example Design Patterns implementations in Java:

Orchestration Patterns

Recommended reading list (from one of the original CloudStack architects):