[Borges-users] How does Borges handle the save and load of continuations?
Robert Chen
red_blaze at hotmail.com
Mon Apr 3 04:53:24 EDT 2006
I am working on some ruby project, and I am looking to exploiting first
class continuations in ruby to build a continuation-based server. I search
the web and find Borges, which is a ruby framework for constructing
continuation-base servers. This brings me to this mailing-list.
I here have a question on how to serialize and store ruby continuations.
Seems ruby does not provide support for serializing continuations directly.
I looked into the source code of Borges (the Session class), but still don't
figure out how Borges serialize and stores a continuation on hard disk. It
occurs to me that Borges simply stores continuation in some memory cache.
But as far as I understand, the memory state will be gone from one request
to another. Then how does a request grab a continuation saved by a previous
request?
Please help me out with this question. Thank you very much.
_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
More information about the Borges-users
mailing list