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

Event streaming not realtime #206

Open
fengyehong opened this issue Jun 29, 2017 · 1 comment
Open

Event streaming not realtime #206

fengyehong opened this issue Jun 29, 2017 · 1 comment

Comments

@fengyehong
Copy link
Contributor

When I use event streaming and observe events I receive, I found events does not always arrive "realtime", usually the last message doesn't show up until the next batch of events.

I use wireshark to capture the traffic and found that marathon did send out events in real time, but requests just keeping holding the last message.

Then I did a little research and found that reqeusts.Response.iter_lines does not work in a realtime manner, using the default chunk_size.

See the issues under requests:
psf/requests#3577 (comment)

@fengyehong
Copy link
Contributor Author

any ideas?

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