Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pub-lmt decreasing causing a BACK_PRESSURE event #1650

Open
alexkoon opened this issue Aug 13, 2024 · 0 comments
Open

pub-lmt decreasing causing a BACK_PRESSURE event #1650

alexkoon opened this issue Aug 13, 2024 · 0 comments

Comments

@alexkoon
Copy link

We have observed the pub-lmt value go down when a remote consumer unsubscribes from the stream id. This causes a BACK_PRESSURE event on the producer. Not sure what causes this.

We have a server (A) that runs a daemon, and a producer. This publishes to a stream with a UDP channel. Server (B) runs a daemon and a consumer is subscribed to the stream. At a subsequent point in time the subscriber no longer requires the data and unsubscribes from the stream id.

We run a aeron stat periodically (every 5s) and dump the results.

When the BACK_PRESSURE event occurs on the producer on Server A, we checked and debugged the consumer and can see no reason for the BACK_PRESSURE (it does not hold up the consumption of data). We checked the aeron-stat log on Server A and around the time (as we are on 5s periodic logging) of the consumer unsubscribing, we observe that the pub-lmt value that was steadily increasing throughout suddenly clamps down to the same value as the pub-pos. After that event, the pub-lmt resumes to increasing (there are other subscribers on other servers for the same streamid requiring data).

Not sure what causes the back pressure as none of the consumers seem to be holding up any data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant