Advanced Patterns in Distributed Event-Driven Architecture: Multi-Channel Communication and Workflow Orchestration for High-Volume Enterprise Systems
DOI:
https://doi.org/10.22399/ijcesen.4919Keywords:
Event-Driven Architecture, WebSocket Communication, Workflow Orchestration, State Management, Distributed SystemsAbstract
Event-driven architecture is a common architectural pattern for solving problems in enterprise systems that need to be responsive, scalable, and effective at handling live streaming feeds of events across distributed system nodes. This article describes architectural patterns to solve the most critical problems in multi-channel WebSocket systems, subscription-based event filtering, stateful workflow orchestration, and resource-constrained state replication. Multi-channel WebSocket architectures allow events of different types to be emitted on separate channels, leading to more flexible application control over data flow and independent scaling. By providing filtering at the server side, subscription-based filtering methods invert the broadcast model, potentially improving battery and bandwidth consumption. Lightweight state management patterns enable the processing of high-frequency events with low computational and memory costs. Business Process Management integration patterns enable resilient orchestration of complex and long-running multi-step processes through durable state persistence and compensation transactions. Retriable connection management patterns include graceful reconnection, exponential backoff, and explicit state synchronization as strategies to handle network disconnections. They have been shown to improve battery life, state management, and short- and long-term uptime benefits when implemented in production systems serving millions of concurrent users and connected devices.
References
[1] Martin Fowler, "What do you mean by 'Event-Driven'?" 2017. [Online]. Available: https://martinfowler.com/articles/201701-event-driven.html
[2] Gregor Hohpe and Bobby Woolf, “Enterprise Integration Patterns: Designing, Building, and Deploying Messaging Solutions,” O’Reilly, 2003. [Online]. Available: https://www.oreilly.com/library/view/enterprise-integration-patterns/0321200683/
[3] I. Fette and A. Melnikov, "The WebSocket Protocol," 2011. [Online]. Available: https://datatracker.ietf.org/doc/html/rfc6455
[4] Abhinav Pathak et al., "Where is the energy spent inside my app?: Fine-grained energy accounting on smartphones with Eprof," EuroSys '12: Proceedings of the 7th ACM European Conference on Computer Systems, 2012. [Online]. Available: https://dl.acm.org/doi/10.1145/2168836.2168841
[5] Patrick Th. Eugster et al., "The many faces of publish/subscribe," ACM Computing Surveys (CSUR), Volume 35, Issue 2, 2003. [Online]. Available: https://dl.acm.org/doi/10.1145/857076.857078
[6] Confluent, "Consumer Group Protocol," Confluent Developer. [Online]. Available: https://developer.confluent.io/courses/architecture/consumer-group-protocol/
[7] Redux Contributors, "Performance—FAQ," Redux Documentation. [Online]. Available: https://redux.js.org/faq/performance
[8] Zustand Contributors, "Introduction: How to use Zustand." [Online]. Available: https://zustand.docs.pmnd.rs/getting-started/introduction
[9] Camunda, "BPMN 2.0 Reference," Camunda Platform Documentation. [Online]. Available: https://camunda.com/bpmn/reference/
[10] Chris Richardson, "Pattern: Saga," Microservices.io. [Online]. Available: https://microservices.io/patterns/data/saga.html
[11] Michael T. Nygard, “Release It! Second Edition: Design and Deploy Production-Ready Software,” O'Reilly, 2018. [Online]. Available: https://www.oreilly.com/library/view/release-it-2nd/9781680504552/
[12] Leslie Lamport, "Time, clocks, and the ordering of events in a distributed system," Communications of the ACM, 1978. [Online]. Available: https://lamport.azurewebsites.net/pubs/time-clocks.pdf
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 International Journal of Computational and Experimental Science and Engineering

This work is licensed under a Creative Commons Attribution 4.0 International License.