{'fraction_non_alphanumeric': 0.022222222222222223, 'fraction_numerical': 0.00392156862745098, 'mean_word_length': 5.491525423728813, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Diner-Waiter pattern in distributed control

As a useful and proven methodology in object-oriented design, design patterns are playing more and more important roles in distributed control system design. To improve the real-time performance and resource usage in distributed control, this paper proposes a novel design pattern: Diner-Waiter pattern. Compared with the traditional event related design patterns, it has the advantages of: 1) less routing time with possibly the best service provided; 2) reducing unnecessary interruption to the event processors; 3) providing a mechanism for intelligent request routing for better quality of service. This design pattern is expected to benefit the design of event dispatching and task allocation in distributed systems