CASCADEX: DISTRIBUTED SIMULATION ENGINE
Author
S.Vijayalakshmi , S.Sanjay, S.Sanjaymani, K.Saraneshwaran, D.Sudharsan
Abstract
CascadeX is a full-stack distributed simulation platform that models how failures spread through interconnected systems. A software architecture is described as a directed graph in which nodes represent services, databases or infrastructure components and weighted edges represent the dependencies between them. When a node fails, the platform propagates the failure along its outgoing edges, reduces the resources of dependent nodes and records every state change so that the complete cascade can be inspected afterwards. The system is built on Node.js and Express with MongoDB for persistent storage, Redis with BullMQ for queue-based tick scheduling, and Socket.IO with a Redis Pub/Sub adapter for real-time streaming to a React dashboard. A dedicated worker executes the simulation as a deterministic state machine, so identical inputs always produce identical results. A Deterministic Heuristic Engine provides pre-simulation risk prediction, detection of critical nodes and bottlenecks, and post-simulation forensic analysis with remediation recommendations. A chaos mode injects random faults to stress-test the topology, and every tick is stored as a snapshot that supports full replay. Security is provided through JWT authentication, role-based access control, rate limiting and environment-aware CORS. Through its modular, horizontally scalable design, CascadeX helps engineers find weak points in an architecture before they cause real outages.
Keywords
Distributed simulation engine, Scalable parallel simulation, Distributed computing framework, Ultra-low latency execution, Massive scalability
Full Text:
References
- Motter, E., & Lai, Y.-C. (2002). Cascade-based attacks on complex networks. Physical Review E, 66(6), 065102.
- Watts, J. (2002). A simple model of global cascades on random networks. Proceedings of the National Academy of Sciences, 99(9), 5766–5771.
- Buldyrev, S. V., Parshani, R., Paul, G., Stanley, H. E., & Havlin, S. (2010). Catastrophic cascade of failures in interdependent networks. Nature, 464, 1025–1028.
- Dobson, I., Carreras, B. A., Lynch, V. E., & Newman, D. E. (2007). Complex systems analysis ofseries of blackouts: Cascading failure, critical points, and self-organization. Chaos, 17(2), 026103.
- Basiri,, Behnam, N., de Rooij, R., et al. (2016). Chaos Engineering. IEEE Software, 33(3), 35–41.
- Newman, E. J. (2010). Networks: An Introduction. Oxford University Press.
- Jones,, Bradley, J., & Sakimura, N. (2015). JSON Web Token (JWT). RFC 7519, Internet Engineering Task Force.
- BullMQ Queues, workers and job scheduling for Node.js on Redis. https://docs.bullmq.io
- IODocumentation. Redis adapter and rooms. https://socket.io/docs/v4/