Coder Social home page Coder Social logo

Comments (10)

jcs47 avatar jcs47 commented on August 18, 2024

What do you mean by being out of order? Are you saying that each replica receives messages by different order, or that FIFO order in respect to each client is not guaranteed? Please be more precise.

from library.

Raycoms avatar Raycoms commented on August 18, 2024

from library.

jcs47 avatar jcs47 commented on August 18, 2024

No

from library.

Raycoms avatar Raycoms commented on August 18, 2024

So the next batch only gets called after I returned the response for the current batch, right?

from library.

jcs47 avatar jcs47 commented on August 18, 2024

Exactly. But bear in mind, you can get batches of different sizes across different replicas. However, the order by which the messages are ordered should be the same.

from library.

Raycoms avatar Raycoms commented on August 18, 2024

I'm currently debugging this, and it's incredibly strange, All replicas receive the same data until a certain moment, then, out of nothing, 1 replica starts getting completely different data than the other 3

from library.

jcs47 avatar jcs47 commented on August 18, 2024

Which replica? Maybe what you are seeing is a replica getting late in relation to all others. This is a common phenomenom. Try to halt all clients and allow all replica to finish processing.

from library.

Raycoms avatar Raycoms commented on August 18, 2024

It is each time another replica, it seems like all messages arrive in order, but 1 of the messages isn't getting executed for some reason.

from library.

jcs47 avatar jcs47 commented on August 18, 2024

Like I said, check if what you are seeing is a delayed replica.

from library.

Raycoms avatar Raycoms commented on August 18, 2024

I found it... Somewhere the code was going down, for some reason I didn't get an exception again and this stopped the execution of the next message in the batch.

from library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.