Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add options in core to enable default app for out-of-rdsn api invocation without explicit dsn_mimic_app calls #33

Closed
imzhenyu opened this issue Dec 8, 2015 · 3 comments
Assignees

Comments

@imzhenyu
Copy link
Owner

imzhenyu commented Dec 8, 2015

No description provided.

@imzhenyu
Copy link
Owner Author

//
// we allow multiple apps in the same process in rDSN, and each app (service_app_spec)
// has its own rpc/thread/disk engines etc..
// when a rDSN call is made in a thread not belonging to any rDSN app,
// developers need to call dsn_mimic_app to designated which app this call and subsequent
// calls belong to.
// this is kinds of tedious sometimes, we therefore introduce enable_default_app_mimic
// option here, which automatically starts an internal app which does nothing but serves
// those external calls only. This will release the developers from writing dsn_mimic_app
// when they write certain codes, esp. client side code.
//
bool enable_default_app_mimic;

@imzhenyu
Copy link
Owner Author

done in #92
@qinzuoyan @glglwty please help review

@imzhenyu
Copy link
Owner Author

merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant