Abstract
Vehicular Ad-hoc Networks (VANETs) must sustain heterogeneous real-time content services, yet static roadside-unit (RSU) roles lead to congestion, coverage voids, and inefficient content delivery under bursty, concurrent demand. To address this issue, we propose a PSO-Based dynamic RSU role assignment framework named PDRA that dynamically adapts roles, coverage, and replication of RSU to current network conditions. A telemetry-based suitability estimator aggregates location, link stability, resource availability, traffic load, and content sensitivity at each RSU and feeds a Particle Swarm Optimization routine that assigns RSUs to Leader/Helper/Inactive roles while enforcing spatial separation between Leaders. An adaptive sectoring mechanism then resizes each cluster RSU's communication scope-contracting under overload to protect local latency and expanding during slack to assist neighbors-thereby suppressing void areas and balancing service density. On top of the physical layer of RSUs, Leader RSUs cooperatively form a virtual Replication Layer that maintains global visibility of load and content locality to steer requests and replicate popular data near demand, reducing backhaul reliance. Finally, a load- and energy-aware reconfiguration policy orchestrates staged assist/offload, selective Helper activation, PSO-based Leader reassignment, and sleep scheduling for underutilized RSUs, preserving resilience and sustainability. NS-3 urban scenarios corroborate that PDRA improves packet delivery, lowers end-to-end delay, reduces backhaul traffic, and increases fairness over strong baselines. By jointly optimizing role assignment, coverage control, and replication, PDRA offers a scalable and robust solution for VANET content delivery under dynamic, multi-user conditions.