GithubHelp home page GithubHelp logo

Comments (6)

imzhenyu avatar imzhenyu commented on July 18, 2024

@bswtzr, thx for the interest. Since we want to control all the non-determinism, we need to ensure all application logic running in rDSN controlled threads. As for the issue u raised, we have been considering automatically starting a default app to run them instead of asking developers to issue an explicit dsn-mimic-app. That work item is in the list. If you are interested, welcome to contribute the implementation(pull request to imzhenyu/rdsn for auto-test and latest version), or if u think it stops your further work, let us know and we will prioritize the item and finish it in short time.

from rdsn.

imzhenyu avatar imzhenyu commented on July 18, 2024

Multiple replicated apps can run in the same assembly. What's missing now is a command to meta server to register multiple apps. Replication server already supports this.

from rdsn.

imzhenyu avatar imzhenyu commented on July 18, 2024

@bswtzr, we now have the solution done for your problem. Please check at imzhenyu#33 . It is not yet merged into Microsoft/rDSN, but you can get it from imzhenyu/rDSN for the time being.

from rdsn.

bswtzr avatar bswtzr commented on July 18, 2024

@imzhenyu I was hoping to spend more time here but got involved in other work. I've attached a simple app built with your latest rdsn code that calls server-r from server-nr as detailed in my initial post. server_r is a badly ported counter_service from your tutorial but good enough for this purpose. Entering add/read commands from the console usually results in a timeout using nativerun or fastrun but the simulator works ok. Maybe I doing something wrong? You'll need to avoid stepping into the code...a debugger side-effect allows it to run properly.
repro.zip

from rdsn.

bswtzr avatar bswtzr commented on July 18, 2024

@imzhenyu, I was able to get this working by using the [replication] settings from simple_kv. I've attached the latest code as I also updated counter_server_impl to match simple_kv.server.impl.
repro.zip

from rdsn.

imzhenyu avatar imzhenyu commented on July 18, 2024

Thanks @bswtzr You may want to submit a pull request for updating counter_server_impl if you want:)

from rdsn.

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.