[erlang-questions] "actor database" - architectural strategy question

Michael Truog <>
Tue Feb 18 01:53:36 CET 2014


On 02/17/2014 03:22 PM, Miles Fidelman wrote:
> Any thoughts on how to do this - perhaps in combination with extending the hibernate BIF? 
Most people use gen_server with hibernate in the return value from the callback (e.g., http://www.erlang.org/doc/man/gen_server.html#Module:handle_call-3). If you need something that is more complex, CloudI has a hibernate service configuration option that allows you to hibernate based on the incoming service request rate, so when the service request rate drops too low, the process hibernates whenever possible (http://cloudi.org/api.html#2_services_add_config_opts_hibernate).



More information about the erlang-questions mailing list