Оптимізація логування в інформаційних системах на основі математичної моделі управління буфером у шаблоні Рroducer-Сonsumer
Вантажиться...
Дата
2025
Назва журналу
Номер ISSN
Назва тому
Видавець
Хмельницький національний університет
Анотація
У статті розглядається підхід до оптимізації процесів логування в інформаційних системах шляхом застосування математичної моделі управління буфером у межах шаблону взаємодії Producer–Consumer. Запропоновано модель, що дозволяє балансувати навантаження між генератором логів (producer) і підсистемою зберігання (consumer), з урахуванням обмежень буферної пам’яті та параметрів системи. Аналіз ефективності моделі демонструє зменшення втрат логів, зниження затримки обробки та покращення стабільності логування в умовах високого навантаження. Представлено результати моделювання, що підтверджують доцільність використання розробленого підходу для побудови надійних систем аудиту та моніторингу подій.
The article presents a comprehensive approach to optimizing logging processes in information systems by utilizing a mathematical model for buffer management within the widely used Producer–Consumer interaction pattern. The study addresses the challenges associated with high-frequency logging, such as data loss, increased latency, and resource overload, which are common in distributed and high-load environments. To mitigate these issues, a dynamic buffer management model is proposed that adaptively regulates the interaction between log-generating components (producers) and log-handling or storage subsystems (consumers). The model takes into account critical system parameters, including buffer size, event generation rate, and consumer processing speed. It enables dynamic adjustment of logging strategies depending on the current load and buffer state. The research includes the formalization of the proposed model using discrete-time mathematics, with particular attention to queue theory and finite-buffer constraints. Simulation experiments conducted in the study demonstrate that the model significantly reduces log loss, optimizes system responsiveness, and ensures stable operation of logging mechanisms even under extreme workloads. The findings suggest that implementing such a model contributes to the design of resilient auditing and monitoring subsystems, especially in cybersecurity-sensitive and mission-critical infrastructures. The approach can be integrated into various architectural layers of modern information systems, improving reliability, maintainability, and traceability of operations in real time. Recommendations for practical implementation and possible extensions of the model for adaptive load prediction are also provided.
The article presents a comprehensive approach to optimizing logging processes in information systems by utilizing a mathematical model for buffer management within the widely used Producer–Consumer interaction pattern. The study addresses the challenges associated with high-frequency logging, such as data loss, increased latency, and resource overload, which are common in distributed and high-load environments. To mitigate these issues, a dynamic buffer management model is proposed that adaptively regulates the interaction between log-generating components (producers) and log-handling or storage subsystems (consumers). The model takes into account critical system parameters, including buffer size, event generation rate, and consumer processing speed. It enables dynamic adjustment of logging strategies depending on the current load and buffer state. The research includes the formalization of the proposed model using discrete-time mathematics, with particular attention to queue theory and finite-buffer constraints. Simulation experiments conducted in the study demonstrate that the model significantly reduces log loss, optimizes system responsiveness, and ensures stable operation of logging mechanisms even under extreme workloads. The findings suggest that implementing such a model contributes to the design of resilient auditing and monitoring subsystems, especially in cybersecurity-sensitive and mission-critical infrastructures. The approach can be integrated into various architectural layers of modern information systems, improving reliability, maintainability, and traceability of operations in real time. Recommendations for practical implementation and possible extensions of the model for adaptive load prediction are also provided.
Опис
Ключові слова
логування, керування буфером, інформаційні системи, шаблон Producer–Consumer, моделювання, аудит, моніторинг, оптимізація, високонавантажене середовище, теорія чергтеорія черг, logging, buffer management, information systems, Producer–Consumer pattern, modeling, audit, monitoring, optimization, high-load environment, queueing theory
Бібліографічний опис
Оптимізація логування в інформаційних системах на основі математичної моделі управління буфером у шаблоні Рroducer-Сonsumer / І. Пархомей, Ю. Бойко, В. Лемешко, О. Єрьоменко // Вимірювальна та обчислювальна техніка в технологічних процесах. – 2025. – № 2. – С. 218-225.