GithubHelp home page GithubHelp logo

Comments (5)

sebastianburckhardt avatar sebastianburckhardt commented on May 23, 2024 1

I have looked at the traces and one of the issues I am seeing is that there are issues with how RaiseEvent is currently implemented:

  • it is inefficient because it actually performs two roundtrips to the partition (first calls GetInstanceState, then calls RaiseEvent) instead of just one. This means it has high latency and wastes EH throughput.

  • there is a consistency issue because the activity is using a client when calling RaiseEvent, and this client may see an older state (where the instance does not yet exist) because GetInstanceState may see a slightly stale instance state.

The best solution to both of those problems is to fix the internal implementation of RaiseEvent so it uses a single, strongly consistent round trip to the partition.

from durabletask-netherite.

sebastianburckhardt avatar sebastianburckhardt commented on May 23, 2024

This is not necessarily expected, no. If you can share the app name and the time window you used for these two tests, I can take a look at the internal telemetry and perhaps figure out what is going on.

from durabletask-netherite.

lecamarade avatar lecamarade commented on May 23, 2024

Thank you, I'll log a support request. I wanted to make sure there was nothing in the architecture of Netherite that would explain it.

from durabletask-netherite.

cgillum avatar cgillum commented on May 23, 2024

@sebastianburckhardt can this issue be closed?

from durabletask-netherite.

sebastianburckhardt avatar sebastianburckhardt commented on May 23, 2024

From what I understand this was fixed. Closing the issue.

from durabletask-netherite.

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.