What are the concurrency guarantees for Flowable.merge()2019 Community Moderator ElectionHandling backpressure without dropping items or serializing in RxJavaHow do I conditionally buffer a Grouped Observable/Flux based on Emitted Events?Creating a Flowable that emits items at a limited rate to avoid the need to buffer eventsRx Java 2 Sync vs. AsyncRxJava2 - order of subscribing in chainUpdate and retain existing data with RxJavaCombining latest value with last n valuesRxJava map observable differently once another completable completesHow to filter values that change over delta thresholdRxJava - Use flowables async way

Best approach to update all entries in a list that is paginated?

Can you reject a postdoc offer after the PI has paid a large sum for flights/accommodation for your visit?

"However" used in a conditional clause?

Time dilation for a moving electronic clock

Who is our nearest neighbor

Am I not good enough for you?

Does anyone draw a parallel between Haman selling himself to Mordechai and Esav selling the birthright to Yaakov?

What does おとこえしや mean?

Co-worker team leader wants to inject the crap software product of his friends into our development. What should I say to our common boss?

Provisioning profile doesn't include the application-identifier and keychain-access-groups entitlements

What Happens when Passenger Refuses to Fly Boeing 737 Max?

US to Europe trip with Montreal layover - is 52 minutes enough?

Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?

Welcoming 2019 Pi day: How to draw the letter π?

What exactly is the purpose of connection links straped between the rocket and the launch pad

What is the blue range indicating on this manifold pressure gauge?

Latest web browser compatible with Windows 98

Need some help with my first LaTeX drawing…

Deleting missing values from a dataset

How to make readers know that my work has used a hidden constraint?

What happens with multiple copies of Humility and Glorious Anthem on the battlefield?

Running a subshell from the middle of the current command

Is it ok to include an epilogue dedicated to colleagues who passed away in the end of the manuscript?

What is the difference between "shut" and "close"?



What are the concurrency guarantees for Flowable.merge()



2019 Community Moderator ElectionHandling backpressure without dropping items or serializing in RxJavaHow do I conditionally buffer a Grouped Observable/Flux based on Emitted Events?Creating a Flowable that emits items at a limited rate to avoid the need to buffer eventsRx Java 2 Sync vs. AsyncRxJava2 - order of subscribing in chainUpdate and retain existing data with RxJavaCombining latest value with last n valuesRxJava map observable differently once another completable completesHow to filter values that change over delta thresholdRxJava - Use flowables async way










0















I've looked in details into the documentation of RxJava's Flowable.merge() operator, but I can't find the information I need.



My understanding, after some experimentation, is that given n upstream flowables Fi that are each emitting values in their own thread Ti, the merge operator guarantees that the merged flowable emits those values in a serialized fashion, such that the downstream has observed it before emitting the previous one. Experimentation also says that, by default a value Vi is observed by the downstream flowable in the same thread Ti as it was emitted.



This means that even if merge guarantees that the downstream receives values serially, it might observe them on different threads.



Now here's the question: Does RxJava guarantee that the observation of a value happens-before the observation of next value? Basically will all the changes made in memory while observing a value on Ti be visible while observing the next value on Tj?










share|improve this question






















  • We have to, the spec mandates it: github.com/reactive-streams/reactive-streams-jvm#1.3

    – akarnokd
    Mar 7 at 11:32











  • Cool, that's what I was looking for. If you could turn that into an answer, I'll mark it as accepted.

    – LordOfThePigs
    Mar 7 at 14:43











  • Also, as a general comment: That page contains really important information that I wish was present in the Javadocs of the various interfaces. I would never have found that page (and therefore that information) without your link.

    – LordOfThePigs
    Mar 7 at 14:45











  • We are an open source project. If you think the documentation could benefit from expanding, please open a pull request.

    – akarnokd
    Mar 7 at 14:52















0















I've looked in details into the documentation of RxJava's Flowable.merge() operator, but I can't find the information I need.



My understanding, after some experimentation, is that given n upstream flowables Fi that are each emitting values in their own thread Ti, the merge operator guarantees that the merged flowable emits those values in a serialized fashion, such that the downstream has observed it before emitting the previous one. Experimentation also says that, by default a value Vi is observed by the downstream flowable in the same thread Ti as it was emitted.



This means that even if merge guarantees that the downstream receives values serially, it might observe them on different threads.



Now here's the question: Does RxJava guarantee that the observation of a value happens-before the observation of next value? Basically will all the changes made in memory while observing a value on Ti be visible while observing the next value on Tj?










share|improve this question






















  • We have to, the spec mandates it: github.com/reactive-streams/reactive-streams-jvm#1.3

    – akarnokd
    Mar 7 at 11:32











  • Cool, that's what I was looking for. If you could turn that into an answer, I'll mark it as accepted.

    – LordOfThePigs
    Mar 7 at 14:43











  • Also, as a general comment: That page contains really important information that I wish was present in the Javadocs of the various interfaces. I would never have found that page (and therefore that information) without your link.

    – LordOfThePigs
    Mar 7 at 14:45











  • We are an open source project. If you think the documentation could benefit from expanding, please open a pull request.

    – akarnokd
    Mar 7 at 14:52













0












0








0








I've looked in details into the documentation of RxJava's Flowable.merge() operator, but I can't find the information I need.



My understanding, after some experimentation, is that given n upstream flowables Fi that are each emitting values in their own thread Ti, the merge operator guarantees that the merged flowable emits those values in a serialized fashion, such that the downstream has observed it before emitting the previous one. Experimentation also says that, by default a value Vi is observed by the downstream flowable in the same thread Ti as it was emitted.



This means that even if merge guarantees that the downstream receives values serially, it might observe them on different threads.



Now here's the question: Does RxJava guarantee that the observation of a value happens-before the observation of next value? Basically will all the changes made in memory while observing a value on Ti be visible while observing the next value on Tj?










share|improve this question














I've looked in details into the documentation of RxJava's Flowable.merge() operator, but I can't find the information I need.



My understanding, after some experimentation, is that given n upstream flowables Fi that are each emitting values in their own thread Ti, the merge operator guarantees that the merged flowable emits those values in a serialized fashion, such that the downstream has observed it before emitting the previous one. Experimentation also says that, by default a value Vi is observed by the downstream flowable in the same thread Ti as it was emitted.



This means that even if merge guarantees that the downstream receives values serially, it might observe them on different threads.



Now here's the question: Does RxJava guarantee that the observation of a value happens-before the observation of next value? Basically will all the changes made in memory while observing a value on Ti be visible while observing the next value on Tj?







rx-java2 reactivex






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 7 at 10:55









LordOfThePigsLordOfThePigs

7,91133359




7,91133359












  • We have to, the spec mandates it: github.com/reactive-streams/reactive-streams-jvm#1.3

    – akarnokd
    Mar 7 at 11:32











  • Cool, that's what I was looking for. If you could turn that into an answer, I'll mark it as accepted.

    – LordOfThePigs
    Mar 7 at 14:43











  • Also, as a general comment: That page contains really important information that I wish was present in the Javadocs of the various interfaces. I would never have found that page (and therefore that information) without your link.

    – LordOfThePigs
    Mar 7 at 14:45











  • We are an open source project. If you think the documentation could benefit from expanding, please open a pull request.

    – akarnokd
    Mar 7 at 14:52

















  • We have to, the spec mandates it: github.com/reactive-streams/reactive-streams-jvm#1.3

    – akarnokd
    Mar 7 at 11:32











  • Cool, that's what I was looking for. If you could turn that into an answer, I'll mark it as accepted.

    – LordOfThePigs
    Mar 7 at 14:43











  • Also, as a general comment: That page contains really important information that I wish was present in the Javadocs of the various interfaces. I would never have found that page (and therefore that information) without your link.

    – LordOfThePigs
    Mar 7 at 14:45











  • We are an open source project. If you think the documentation could benefit from expanding, please open a pull request.

    – akarnokd
    Mar 7 at 14:52
















We have to, the spec mandates it: github.com/reactive-streams/reactive-streams-jvm#1.3

– akarnokd
Mar 7 at 11:32





We have to, the spec mandates it: github.com/reactive-streams/reactive-streams-jvm#1.3

– akarnokd
Mar 7 at 11:32













Cool, that's what I was looking for. If you could turn that into an answer, I'll mark it as accepted.

– LordOfThePigs
Mar 7 at 14:43





Cool, that's what I was looking for. If you could turn that into an answer, I'll mark it as accepted.

– LordOfThePigs
Mar 7 at 14:43













Also, as a general comment: That page contains really important information that I wish was present in the Javadocs of the various interfaces. I would never have found that page (and therefore that information) without your link.

– LordOfThePigs
Mar 7 at 14:45





Also, as a general comment: That page contains really important information that I wish was present in the Javadocs of the various interfaces. I would never have found that page (and therefore that information) without your link.

– LordOfThePigs
Mar 7 at 14:45













We are an open source project. If you think the documentation could benefit from expanding, please open a pull request.

– akarnokd
Mar 7 at 14:52





We are an open source project. If you think the documentation could benefit from expanding, please open a pull request.

– akarnokd
Mar 7 at 14:52












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55042118%2fwhat-are-the-concurrency-guarantees-for-flowable-merge%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55042118%2fwhat-are-the-concurrency-guarantees-for-flowable-merge%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme