AsyncRequestsSender can dispatch a command to itself

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The AsyncRequestsSender doesn't check if an incoming request is intended for the current node. In this scenario, the ARS will schedule a remote command instead of running it locally. This introduces unnecessary overhead, as the operation must acquire a connection, transmit the command, pass through the full ingress and command dispatch pipeline, and then return a response over the network.

      We should investigate updating the AsyncRequestsSender to run a command locally if it's intended for the current node.

            Assignee:
            Unassigned
            Reporter:
            Joseph Prince
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: