Abstract
Advanced Traveler Information Systems (ATIS) are critical for modern urban mobility, providing real-time data to commuters. However, these systems often struggle with fluctuating demand and management complexity. This paper proposes a decentralized Self-Managed System (SMS) middleware that utilizes agent-based monitoring to automate server scaling and failure recovery. Experimental results demonstrate that the system effectively maintains high availability by dynamically adjusting resources based on real-time CPU load thresholds.
Introduction
Modern transit infrastructures rely on ATIS to deliver real-time bus tracking, route planning, and arrival predictions. These systems face two primary challenges: elastic demand, where usage spikes during rush hours and drops significantly at night, and management complexity, where manual intervention for hardware failures or configuration errors leads to downtime. To address these, we propose a shift toward autonomic computing—creating systems capable of self-healing and self-optimization.
System Architecture
The core of our solution is a Self-Managed System (SMS) middleware layer situated between the hardware infrastructure and the application layer. This architecture is designed to be decentralized to avoid single points of failure.
As shown in Figure 1, the SMS consists of four primary components:
- Sensors: These monitor nodes for hardware failures or CPU load peaks.
- Analyzers: These process sensor data against predefined operational rules (e.g., "If CPU > 90%, we need more power").
- Agents: These serve as the system's decision-makers, using negotiation protocols to resolve conflicting management signals.
- Actuators: These perform the physical reconfiguration, such as spinning up or shutting down server instances.
A key innovation is the "double time series scheme," which evaluates load both locally and globally to prevent "jitter"—the inefficient, rapid toggling of server states caused by minor, transient traffic spikes.
Experimental Methodology
The system was evaluated in a controlled environment using a cluster of three Ubuntu Linux nodes connected via 100Mbps Fast Ethernet. To simulate real-world ATIS usage, a synthetic workload was applied, varying client requests from 100 to 1,000. This setup allowed for the observation of the system's reactive capabilities under fluctuating stress.
Results and Discussion
The experimental evaluation confirmed that the SMS is "efficiently reactive." The system successfully managed server resources in response to real-time demand.
As illustrated in Figure 2, when the CPU load on an active server reached a 90% threshold (the "max threshold"), the SMS automatically initialized an additional server instance. This scaling continued until all available infrastructure was utilized. Conversely, when the load dropped and stabilized—hitting a 40% "min threshold"—the system deallocated idle servers to conserve resources.
Furthermore, the failure detection service proved robust. Using a heartbeat mechanism, the system identified crashed nodes and rerouted traffic to healthy instances without human intervention.
Insights and Future Work
Our findings highlight that decentralization is a double-edged sword; while it increases robustness, it requires sophisticated agent negotiation to reach consensus. We also found that "lazy consistency" is a viable trade-off for ATIS; since bus locations update frequently, minor database sync delays are acceptable and significantly reduce replication overhead.
Future work will focus on expanding metrics beyond CPU load, such as memory usage and concurrent request counts. Additionally, the authors plan to integrate predictive models to anticipate rush hour peaks before they occur, moving from a reactive to a proactive management stance.
Conclusion
The proposed SMS provides a scalable and resilient foundation for ATIS. By automating the management of distributed server environments, the system ensures that commuters receive reliable information even during extreme traffic peaks, moving us closer to truly autonomous urban information systems.
Summary updated