dimsuz
07/07/2020, 6:51 PMpublishSubject.concatMap { Observable.delay(3000) }
If subject will very quickly emit a lot of items, what happens? Will they get buffered up to a certain point?
Or not at all? Can one expect that quickly emitting 3 items will be OK, but 1 000 000 items will throw MissingBackrpressure?
Where's that point when OK becomes an exception? :)
I tried searching javadoc for this info, but didn't succeed. If this is documented, please point me to the place in the docs.alexsullivan114
07/07/2020, 8:38 PMObservable
(and `Subject`s) will buffer forever until an OOM is hit. You should only receive a MissingBackpressureException
when using a Flowable
dimsuz
07/07/2020, 8:49 PMursus
07/08/2020, 3:53 AMgildor
07/08/2020, 5:30 AMalexsullivan114
07/08/2020, 1:33 PMFlowable
I know there's some type of internal, fixed size buffer that can buffer some amount (maybe 128/256?) before it crashesursus
07/08/2020, 10:08 PMBUFFER_SIZE = Math.max(1, Integer.getInteger("rx2.buffer-size", 128));
`ursus
07/08/2020, 10:08 PMalexsullivan114
07/10/2020, 1:07 PMobserveOn
operator to improve performance for bursty sources but I'm not sure about those internal buffers