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

[question] shared resources between parent and children processes #105

Open
dselivanov opened this issue Jun 18, 2018 · 2 comments
Open

Comments

@dselivanov
Copy link

Hi Simon. Is there any way in 1.8.* series on how to manage shared resources between processes? My case is that I need somehow maintain connection pool to a database.

I'm pretty sure this is quite common case and some Rserve users already investigated it. Any suggestions?

@dselivanov
Copy link
Author

So far I have in mind only workaround when Rserve is compiled with -DCOOPERATIVE and used in cooperative mode.
BTW interesting option would be to add ability choose whether to start in cooperative or fork mode in runtime. Have no idea on how hard it will be to implement.

@vikram-rawat
Copy link

I am using a db pool with restRserve and I am facing a pool leak. Is there anything currently that I should do to stop it... I am going through all the issues right now finding something that would help. If you have found any advice please do mention.

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

No branches or pull requests

2 participants