Design Patterns - Command

Design Patterns Category Design Patterns Index 14. Command Intent: Encapsulate a request as an object, thereby letting you parameterizeclients with different requests, queue or log requests, and support undoable operations. Also Known As: Action, Transaction Applicability: parameterize objects by an...

Design Patterns - Chain of Resp

Design Patterns Category Design Patterns Index 13. Chain of Responsibility Intent: Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the...

Linux - Performance Tools

Linux Performance Tools Q&A # Problem 1: No history log; [default] using sar will check the log. ray@[๑'ㅂ'و]✧ sudo sar Cannot open /var/log/sysstat/sa06: No such file or directory Please check if data collecting is enabled in /etc/default/sysstat # Solution: Generate...

Design Patterns - Proxy

Design Patterns Category Design Patterns Index 12. Proxy Intent: Provide a surrogate[ˈsʌrəgət] or placeholder for another object to control access to it. -Also Known As: - Surrogate Applicability: A remote proxy provides a local representative for an object in a...

Design Patterns - Flyweight

Design Patterns Category Design Patterns Index 11. Flyweight Intent: Use sharing to support large numbers of fine-grained objects efficiently. What is the difference between coarse-grained and fine-grained? Granularity is the extent to which a system is broken down into small...