https://www.mdu.se/

mdu.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
A Lightweight Architecture Analysis of a Monolithic Messaging Gateway
Mälardalen University, School of Innovation, Design and Engineering, Embedded Systems. Infoflex Connect AB. (Software Testing Laboratory)ORCID iD: 0000-0003-4606-5144
Mälardalen University, School of Innovation, Design and Engineering, Embedded Systems.ORCID iD: 0000-0003-0611-2655
2020 (English)In: Proceedings - 2020 IEEE International Conference on Software Architecture Companion, ICSA-C 2020, Salvador, Bahia, Brazil: IEEE, 2020, p. 25-32, article id 9095659Conference paper, Published paper (Refereed)
Abstract [en]

Background: The Enterprise Messaging Gateway(EMG) from Infoflex Connect (ICAB) is a monolithic system used to deliver mobile text messages (SMS) world-wide. The companies using it have diverse requirements on both functionality and quality attributes and would thus benefit from more versatile customizations, e.g. regarding authorization and data replication.

Objective: ICAB needed help in assessing the current architecture of EMG in order to find candidates for architectural changes as well as fulfilling the needs of variability in meeting the wide range of customer requirements.

Method: We analysed EMG using a lightweight version of ATAM (Architectural Trade-off Analysis Method) to get a better understanding of how different architectural decisions would affect the trade-offs between the quality requirements from the identified stakeholders.

Result: Using the results of this structured approach, it was easy for ICAB to identify the functionality that needed to be improved. It also became clear that the selected component should be converted into a set of microservices, each one optimized for a specific set of customers.

Limitation: The stakeholder requirements were gathered intermittently during a long period of continuous engagement, but there is a chance some of their requirements were still not communicated to us.

Conclusion: Even though this ATAM study was performed internally at ICAB without direct involvement from any external stakeholders, documenting elicited quality attribute requirements and relating them to the EMG architecture provided new, unexpected, and valuable understandings of the system with a rather small effort.

Place, publisher, year, edition, pages
Salvador, Bahia, Brazil: IEEE, 2020. p. 25-32, article id 9095659
Keywords [en]
Architecture, Monolith, ATAM, Microservice
National Category
Computer and Information Sciences
Research subject
Computer Science
Identifiers
URN: urn:nbn:se:mdh:diva-47566DOI: 10.1109/ICSA-C50368.2020.00013ISI: 000587897600007Scopus ID: 2-s2.0-85085748844ISBN: 9781728146591 (print)OAI: oai:DiVA.org:mdh-47566DiVA, id: diva2:1426099
Conference
2020 IEEE International Conference on Software Architecture Companion, ICSA-C 2020; Salvador; Brazil; 16 March
Available from: 2020-04-23 Created: 2020-04-23 Last updated: 2025-10-10Bibliographically approved
In thesis
1. Improving the Quality Attributes of a Monolithic Messaging Gateway
Open this publication in new window or tab >>Improving the Quality Attributes of a Monolithic Messaging Gateway
2020 (English)Licentiate thesis, comprehensive summary (Other academic)
Place, publisher, year, edition, pages
Västerås, Sweden: Mälardalen University, 2020
Series
Mälardalen University Press Licentiate Theses, ISSN 1651-9256 ; 290
National Category
Computer and Information Sciences
Research subject
Computer Science
Identifiers
urn:nbn:se:mdh:diva-47568 (URN)978-91-7485-465-7 (ISBN)
Presentation
2020-06-02, Lambda + Online, Västerås, Sweden, 13:15 (English)
Opponent
Supervisors
Available from: 2020-04-23 Created: 2020-04-23 Last updated: 2025-10-10Bibliographically approved
2. Improving the Efficiency and Reliability of Text Messaging Gateways
Open this publication in new window or tab >>Improving the Efficiency and Reliability of Text Messaging Gateways
2022 (English)Doctoral thesis, comprehensive summary (Other academic)
Abstract [en]

When software communicates, it typically uses some middleware. In this thesis we focus on the group of middleware called “messaging gateways”, which normally uses the store-and-forward architecture. Our overall goal is to find ways to improve the throughput and reliability of such gateways in general, in particular the ones used for forwarding mobile text messages. In short, our work resulted in a new anomaly detection algorithm, a reduction of the number of database operations in a commercial messaging gateway, and two new highly performant data replication protocols.

In addressing the throughput, we first wanted a better understanding of how the round-trip times for outgoing requests varied, in order to correctly detect abnormal delays. This resulted in a generalized extension of exponential smoothing, which we used in a novel algorithm to detect anomalies.

We then performed an architecture analysis of an industrial messaging gateway based on its quality requirements. From this exploratory case study, we deduced a somewhat unexpected plan to migrate the balance management module to a set of microservices, and identified situations where database operations could be batched in order to also provide higher throughput.

A common and easy way to improve the reliability of a system is to replicate the stored data to one or more additional servers. However, we found that this approach often leads to lower throughput due to extra network traffic required. We addressed this by first writing a problem formulation on how the quality attributes of a messaging gateway would be affected by a multi-node configuration, resulting in a review of state of the art and state of practice for multi-node systems. 

Building on this review, we developed a new data replication algorithm, which we validated in a controlled experiment. Its proof-of-concept implementation showed that even in a geo-distributed configuration, replication throughput can scale with the number of nodes. 

Text messaging gateways often have a module for credit management, used when billing the senders for their traffic. In a multi-node environment the maintenance of the corresponding credit balances requires synchronization between the nodes, for which we designed and implemented an algorithm which uses less network traffic than existing solutions in many real-world situations. 

Place, publisher, year, edition, pages
Västerås: Mälardalens universitet, 2022
Series
Mälardalen University Press Dissertations, ISSN 1651-4238 ; 364
National Category
Computer and Information Sciences
Research subject
Computer Science
Identifiers
urn:nbn:se:mdh:diva-60047 (URN)978-91-7485-566-1 (ISBN)
Public defence
2022-11-22, Gamma, Mälardalens universitet, Västerås, 13:15 (English)
Opponent
Supervisors
Available from: 2022-09-29 Created: 2022-09-28 Last updated: 2025-10-10Bibliographically approved

Open Access in DiVA

No full text in DiVA

Other links

Publisher's full textScopus

Authority records

Afzal, Wasif

Search in DiVA

By author/editor
Brahneborg, DanielAfzal, Wasif
By organisation
Embedded Systems
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar

doi
isbn
urn-nbn

Altmetric score

doi
isbn
urn-nbn
Total: 339 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf