{'fraction_non_alphanumeric': 0.01791713325867861, 'fraction_numerical': 0.0, 'mean_word_length': 5.478260869565218, '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 optimal and efficient soft caching algorithm for network image retrieval

This paper addresses optimizing cache allocation in a distributed image database system over computer networks. We consider progressive image file formats, and "soft" caching strategies, in which each image is allocated a variable amount of cache memory, in an effort to minimize the expected image transmission delay time. A simple and efficient optimization algorithm is proposed, and is generalized to include multiple proxies and clients in a network scenario. With optimality proven, our algorithm is surprisingly simple, and is based on sorting the images according to a special priority index. We also present an adaptive real-time cache allocation/replacement strategy that can be incorporated into Web browsers with minimum computational overhead. Simulation results are presented to validate our algorithm.