[erlang-questions] Is there a way to serialise a running process & resume it later (i.e. continuations)

Raoul Duke <>
Fri Feb 27 02:02:50 CET 2009


> Now yariv did use a form hack, but so does seaside from memory so it can
> do the increment counters demo correctly, ie multiple counter in the
> same page added as modules. The trouble is Yariv was doing a quick hack
> do demo what was possible with his framework (erlyweb).

<iiuc>
web continuations are stored server-side vs. a form hack with a hidden
field most likely does not incur anything stored server-side.

continuations let you come back later even though the client browser
has forgotten everything, because the continuation is in the server.
of course then you need some gcing of old continuations. (it is all
pretty much diametrically opposite to the REST approach to things.)
</iiuc>

sincerely.



More information about the erlang-questions mailing list