IDEAS home Printed from https://ideas.repec.org/a/gam/jftint/v17y2025i9p426-d1753563.html
   My bibliography  Save this article

A Platform-Agnostic Publish–Subscribe Architecture with Dynamic Optimization

Author

Listed:
  • Ahmed Twabi

    (Informatics & Data Science, Hiroshima University, Hiroshima 739-0046, Japan)

  • Yepeng Ding

    (Informatics & Data Science, Hiroshima University, Hiroshima 739-0046, Japan)

  • Tohru Kondo

    (Informatics & Data Science, Hiroshima University, Hiroshima 739-0046, Japan)

Abstract

Real-time media streaming over publish–subscribe platforms is increasingly vital in scenarios that demand the scalability of event-driven architectures while ensuring timely media delivery. This is especially true in multi-modal and resource-constrained environments, such as IoT, Physical Activity Recognition and Measure (PARM), and Internet of Video Things (IoVT), where integrating sensor data with media streams often leads to complex hybrid setups that compromise consistency and maintainability. Publish–subscribe (pub/sub) platforms like Kafka and MQTT offer scalability and decoupled communication but fall short in supporting real-time video streaming due to platform-dependent design, rigid optimization, and poor sub-second media handling. This paper presents FrameMQ, a layered, platform-agnostic architecture designed to overcome these limitations by decoupling application logic from platform-specific configurations and enabling dynamic real-time optimization. FrameMQ exposes tunable parameters such as compression and segmentation, allowing integration with external optimizers. Using Particle Swarm Optimization (PSO) as an exemplary optimizer, FrameMQ reduces total latency from over 2300 ms to below 400ms under stable conditions (over an 80 % improvement) and maintains up to a 52 % reduction under adverse network conditions. These results demonstrate FrameMQ’s ability to meet the demands of latency-sensitive applications, such as real-time streaming, IoT, and surveillance, while offering portability, extensibility, and platform independence without modifying the core application logic.

Suggested Citation

  • Ahmed Twabi & Yepeng Ding & Tohru Kondo, 2025. "A Platform-Agnostic Publish–Subscribe Architecture with Dynamic Optimization," Future Internet, MDPI, vol. 17(9), pages 1-29, September.
  • Handle: RePEc:gam:jftint:v:17:y:2025:i:9:p:426-:d:1753563
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1999-5903/17/9/426/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1999-5903/17/9/426/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jftint:v:17:y:2025:i:9:p:426-:d:1753563. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.