[erlang-questions] high-volume logging via a gen_server

Attila Rajmund Nohl attila.r.nohl@REDACTED
Mon Oct 4 14:12:07 CEST 2010


2010/10/4, Dan Kelley <djk121@REDACTED>:
[...]
> So, what are good strategies to cope with a large incoming volume of
> messages that all need to wind up in the same logfile?  Is there a more
> efficient way to write to disk than the simple io:format() call than I'm
> using above?  What's a good way to parallelize the logging over multiple
> processes but keep all of the information in one file?

I'm not sure if it's useful, but take a look at the disk_log module in
Erlang/OTP.


More information about the erlang-questions mailing list