{'fraction_non_alphanumeric': 0.01685891748003549, 'fraction_numerical': 0.0, 'mean_word_length': 5.878048780487805, '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}}
An infrastructure for distributed rule-based situation management

The development of situation-aware applications is a challenging task, requiring support from advanced techniques and implementation frameworks. That has motivated us to develop SCENE, a rule-based platform which allows rule-based situation specification and situation lifecycle management. SCENE was originally defined in a centralized setting, considering a single rule engine, working with a single set of rules and a single working memory containing all the information about the environment required to detect situations of interest. Here, we extend SCENE by providing support for (transparent) situation distribution, such that situation detection can be distributed flexibly, with parts of the rule detection functionality working on different rule engines. This enables us to accommodate a variety of distribution strategies and rule engine configurations with little developer effort. We show that the overhead introduced by distributed communication is acceptable and that a distributed situation management scenario can outperform a centralized one.