[erlang-questions] process priority
Mon Jul 4 16:12:58 CEST 2011
> My 2 cents.
> Generally, writing straight to disk is a bad thing. You should have a
> table (ets/mnesia) where you write your log lines and a process that
> periodically flushes it to disk. Depending on your system load this
> will help immensely.
You could also consider disk_log, which offers a halfway solution to
some of these issues, writing to disk but not necessarily flushing
immediately. Also Ulf's comments about tweaking the thread pool size
are important, although it's worth baring in mind that this can affect
some linked-in drivers that are using async threads as well.
More information about the erlang-questions