
5 Feb
2011
5 Feb
'11
11:19 a.m.
On Sat, Feb 5, 2011 at 17:13, Andrew Coppin
On 05/02/2011 12:56 PM, Jesper Louis Andersen wrote:
Presumably messages added to the channel appear immediately after the transaction commits. The problem is, I think GHC's STM implementation might mean that if two transactions both try to log a message, they both get rolled back...
Yes, this is the performance caveat I was hinting at. When logging becomes heavy and transactions are *not* completing, you will have transaction retries due to the logging. If the transaction completes however, it is not that much of a problem. -- J.