Support Requests: Browse | Submit New | Admin

[#17678] Embedding BackgrounDRb in a Rails application

Date:
2008-01-31 21:47
Priority:
3
Submitted By:
Uwe Kubosch (donv)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Embedding BackgrounDRb in a Rails application

Detailed description
Hi!

Thank you for developing BackgrounDRb.

It looks exactly like what I want, but I wish to remove the extra administration of running it as a separate server.
I would like the BackgrounDRb server and my Rails app to share life cycle.  That is the BackgrounDRb server and the
Rails app should start and stop at the same time.  Also, I would like to not use a TCP socket since only one application
is going to talk to the server.

If you could help me implement this, I would be very grateful.


Uwe

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-02-01 12:09
Sender: Uwe Kubosch

I have tried adding

load "script/backgroundrb"

to my config/environment.rb, and this seems to work.  Is
this bad?

The server still opens the server port.  Do you have a
suggestion for how I can disable the TCP port and use direct
method call of other in-memory communication?


Uwe

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item