Central or individual processing for custom Astargrid navigation?

Godot Version

4 .2


I am trying to make navigation system like RTS where i click to a point and the units will move there while avoiding obstacles. Since godot’s current navigation agent is buggy, I have been trying to make a custom Astar grid navigation and my current plan is to have a one central singleton that enqueues and handle navigation process while attaching agent nodes to the units that will handle sending request and translate the id_path for movement. I would like to know if there is a notable difference in performance- between this plan and attaching a node that handles and process everything in itself instead of relying on a singleton and which one would be easier to implement