Skip to content

RxJava2: Create an examples handing backpressure #87

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

Closed
marcinkunert opened this issue Nov 27, 2016 · 2 comments
Closed

RxJava2: Create an examples handing backpressure #87

marcinkunert opened this issue Nov 27, 2016 · 2 comments

Comments

@marcinkunert
Copy link
Contributor

Since we soon will have RxJava2 here (#83) it would be nice to have examples that handle backpressure. Do you have any ideas for good examples?

@kaushikgopal
Copy link
Owner

yeah i've been thinking about this. Couple of points:

  • By default we should be using Flowables everywhere as good Rx citizens. Using Flowables inherently add the notion of backpressure but we obv. don't call it out explicitly.
  • That being said the pagination example, has a high likelihood of running into a BackPressure exception, which is why that's been handled there
  • the problem with having an example just demoing BackPressure is that it doesn't go in the spirit of actual "examples". it's more a demo of an implementation detail (which is fine and a great thing to know) but might have to stick to keeping this repo as a "learn Rx by example" vs just "learn Rx"

if that makes sense.

@kaushikgopal
Copy link
Owner

going to go ahead and close this. if you feel differently feel free to reopen again with your thoughts

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

2 participants