Visitar URL original
ping request · Issue #662 · streamnative/mop · GitHub
Skip to content

ping request  #662

Description

@hujie6

Is your enhancement request related to a problem? Please describe.
Current: when using mqtt proxy, client will send ping request to proxy , then proxy will send this request to broker. when broker receives this ping request , it will return repsonse to proxy, and proxy will write this response to client.

Question: if a client has thusands of topics, proxy will write many ping requests to broker, then proxy will receive many responses. of course ,this client will also receive many ping responses.

Describe the solution you'd like

  1. Is it possible to consider returing ping response to client directly at the proxy node?
  2. or can we deduplicate the ping response on the proxy side to avoid sending many response to the client?

Activity

  1. mattisonchao commented on Jun 24, 2022

    @mattisonchao
    Member

    Maybe we can use two mechanisms:

    1. Client <=> Proxy
    2. Proxy <=> Broker
  2. hujie6 commented on Jun 25, 2022

    @hujie6
    ContributorAuthor

    Maybe we can use two mechanisms:

    1. Client <=> Proxy
    2. Proxy <=> Broker

    Yes, I can not agree more. I think we can return ping response to client directly at proxy node, and we can use timed heartbeat between proxy and broker .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions