Comments (6)
@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.
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.
@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.
@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.
@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.
Thanks @bswtzr You may want to submit a pull request for updating counter_server_impl if you want:)
from rdsn.
Related Issues (20)
- "Thrift: Permission denied" under Ubuntu 14 HOT 1
- aio write imcompletely bug HOT 3
- compiling issue:error: expected ')' before 'PRId64' HOT 5
- sh: thrift-gen-rdsn: command not found HOT 1
- 我用的c# dsn.core.dll这个dll没有找到。
- error: dsn.core.dll is missing from your computer. HOT 2
- error HOT 1
- ./run.sh test failed HOT 1
- Unclear licensing situation for code in csproj.template.php HOT 2
- protobuf is not compiled with "-fPIC" HOT 1
- rpc_msg_payload_serialize_default_format is set to DSF_THRIFT_BINARY, which could fail apps using protobuf.
- wget.exe could not download dependencies from GitHub on Windows. HOT 1
- Cannot build with Visual Studio 2019 HOT 1
- abort() can hang during automatic testing on Windows for "Debug" build.
- build error: suggest explicit braces to avoid ambiguous ‘else’ HOT 2
- eiddccidrihfdgcnetekdknnrgglkuficdlttkeiutru HOT 1
- Compile source code error in service_api.cpp HOT 2
- use of map in configuration.cpp HOT 1
- replication_service_app::start doesn't use working_dir set in config.ini HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdsn.