[erlang-questions] Persistent processes
Tue Jul 10 18:57:33 CEST 2007
We have added some persistence to our application processes by creating
fun (closure), which holds all necessary environment to continue
execution later and saving it to the mnesia. I've found that this was a
great opportunity to us to make our application delayed jobs management
much more simple than in other languages.
So we have implemented some generic module -- cron daemon, which takes
case of restarting processes after reboot and scheduling them for
periodic execution, which takes arguments like a fun, how often to run
process and how long keep the task, before throwing it away.
Network security consulting
t +37493 419763 (mob)
More information about the erlang-questions