ping request

Open
#662 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
backend

Research direction

Start by tracing the MQTT proxy ping request and response flow described in the issue. Reproduce the behavior with a client subscribed to many topics and compare direct proxy responses with broker-forwarded responses. Done means one agreed approach reduces unnecessary broker or client ping traffic without breaking MQTT ping behavior.

Written by the indexing model from the issue text.

Description

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?
Dominant language
Java
Stars
190
Forks
56
Avg merge
27m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from streamnative/mop

All issues in streamnative/mop

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.