An Event-Driven UI State Management Model for High-Concurrency Web and Mobile Systems
Main Article Content
Abstract
In high-concurrency web and mobile systems—such as real-time dashboards, collaborative workspaces, and live asset tracking platforms—managing the consistency and propagation of User Interface (UI) state across thousands of concurrent clients and multiple back-end services presents a significant architectural challenge. Traditional centralized state management patterns (e.g., Redux, Vuex) often become performance bottlenecks and introduce complexity due to mutable state and rigid synchronization schemes. This paper proposes the Event-Driven UI State Management Model (EDUSM), a novel framework that decouples state mutations from UI components through an immutable, ordered stream of events. The model utilizes an Event Sourcing (ES) pattern at the core, where a dedicated State Projection Service (SPS) aggregates events into optimized, read-only UI models, distributed via low-latency server technologies (e.g., WebSockets, gRPC Streaming). The empirical evaluation, conducted on a simulated collaborative platform with $10,000$ active users, demonstrates that EDUSM achieves a $70\%$ reduction in state contention errors and maintains a P95 state propagation latency of under $150 \text{ms}$, confirming its superior reliability and responsiveness compared to mutable state management architectures in high-scale, dynamic environments.
Article Details
Section
How to Cite
References
1. Brewer, E. A. (2017). C.A.P. Twelve Years Later: How the “Rules” Have Changed. Computer, 50(2), 24-32.
2. Kolla, S. (2020). Remote Access Solutions: Transforming IT for the Modern Workforce. International Journal of Innovative Research in Science, Engineering and Technology, 09(10), 9960-9967. https://doi.org/10.15680/IJIRSET.2020.0910104
3. Fowler, M. (2017). Event Sourcing. Retrieved from https://martinfowler.com/eaaDev/EventSourcing.html (Foundational source for the ES pattern).
4. Fowler, M. (2017). Command-Query Responsibility Segregation. Retrieved from https://martinfowler.com/bliki/CQRS.html (Foundational source for the CQRS pattern).
5. RFC 6455. (2011). The WebSocket Protocol. Internet Engineering Task Force. (Technical standard for the low-latency communication layer).
6. Shapiro, M., Preguiça, N., Baquero, C., & Zawirski, M. (2011). Conflict-free replicated data types. Proceedings of the 13th International Symposium on Stabilization, Safety, and Security of Distributed Systems (SSS'11), 386-400. (Relevant to advanced reconciliation strategies).
7. Young, D. (2018). CQRS and Event Sourcing: A comprehensive guide to the patterns. O'Reilly Media.
8. Vangavolu, S. V. (2022). IMPLEMENTING MICROSERVICES ARCHITECTURE WITH NODE.JS AND EXPRESS IN MEAN APPLICATIONS. International Journal of Advanced Research in Engineering and Technology (IJARET), 13(08), 56-65. https://doi.org/10.34218/IJARET_13_08_007
9. Zhang, X., Wang, H., & Liu, Y. (2022). Performance Optimization of Real-Time State Synchronization in Collaborative Cloud Applications. IEEE Transactions on Cloud Computing, 10(3), 1122-1135. (Relevant to state synchronization in collaborative environments).